Trait pnet_datalink::DataLinkReceiver [] [src]

pub trait DataLinkReceiver: Send {
    fn next(&mut self) -> Result<&[u8]>;
}

Structure for receiving packets at the data link layer. Should be constructed using datalink_channel().

Required Methods

Get the next Ethernet frame in the channel

Implementors