Struct pnet_transport::Ipv4TransportChannelIterator [−][src]
pub struct Ipv4TransportChannelIterator<'a> { /* fields omitted */ }Expand description
An iterator over packets of type Ipv4Packet.
Implementations
Get the next (Ipv4Packet, IpAddr) pair for the given channel.
Wait only for a timespan of t to receive some data, then return. If no data was
received, then Ok(None) is returned.
