Struct pnet::transport::UdpTransportChannelIterator [] [src]

pub struct UdpTransportChannelIterator<'a> {
    // some fields omitted
}

An iterator over packets of type $ty

Methods

impl<'a> UdpTransportChannelIterator<'a>
[src]

fn next(&mut self) -> Result<(UdpPacket, IpAddr)>

Get the next ($ty, IpAddr) pair for the given channel