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