Struct pnet_transport::UdpTransportChannelIterator
[−]
[src]
pub struct UdpTransportChannelIterator<'a> { /* fields omitted */ }
An iterator over packets of type $ty
Methods
impl<'a> UdpTransportChannelIterator<'a>
[src]
pub fn next(&mut self) -> Result<(UdpPacket, IpAddr)>
[src]
Get the next ($ty, IpAddr) pair for the given channel