pub fn recv(&mut self) -> Result<&[u8]> {
        let packet_buf = self.rx_buffer.dequeue_one()?;
        net_trace!("{}:{}:{}: receive {} buffered octets",
                   self.meta.handle, self.ip_version, self.ip_protocol,
                   packet_buf.size);
        Ok(&packet_buf.as_ref())
    }
/// Dequeue a packet, and return a pointer to the payload.
///
/// This function returns `Err(Error::Exhausted)` if the receive buffer is empty.
///
/// **Note:** The IP header is parsed and reserialized, and may not match
/// the header actually received bit for bit.
Dequeue a packet, and return a pointer to the payload.
This function returns `Err(Error::Exhausted)` if the receive buffer is empty.

The IP header is parsed and reserialized, and may not match
the header actually received bit for bit.
Dequeue a packet and return a pointer to the payload . This function returns ` Err ( Error :: Exhausted ) ` if the receive buffer is empty . The IP header is parsed and reserialized and may not match the header actually received bit for bit .
pub fn recv(&mut self) -> Result<&[u8]> {
        let packet_buf = self.rx_buffer.dequeue_one()?;
        net_trace!("{}:{}:{}: receive {} buffered octets",
                   self.meta.handle, self.ip_version, self.ip_protocol,
                   packet_buf.size);
        Ok(&packet_buf.as_ref())
    }
pub fn recv ( & mut self ) -> Result < & [ u8 ] > { let packet_buf = self . rx_buffer . dequeue_one ( ) ? ; net_trace ! ( " " self meta handle self ip_version self ip_protocol packet_buf size ) ; Ok ( & packet_buf . as_ref ( ) ) }
Dequeue a packet, and return a pointer to the payload.
Dequeue a packet and return a pointer to the payload .
&mut self
&mut self