Struct pnet_transport::IcmpTransportChannelIterator
source ·
[−]pub struct IcmpTransportChannelIterator<'a> { /* private fields */ }
Expand description
An iterator over packets of type IcmpPacket
.
Implementations
Get the next (IcmpPacket
, 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.