pub fn send_slice(&mut self, data: &[u8], endpoint: IpAddress) -> Result<()> {
        let packet_buf = self.send(data.len(), endpoint)?;
        packet_buf.copy_from_slice(data);
        Ok(())
    }
/// Enqueue a packet to be sent to a given remote address, and fill it from a slice.
///
/// See also [send](#method.send).
Enqueue a packet to be sent to a given remote address, and fill it from a slice.
Enqueue a packet to be sent to a given remote address and fill it from a slice .
pub fn send_slice(&mut self, data: &[u8], endpoint: IpAddress) -> Result<()> {
        let packet_buf = self.send(data.len(), endpoint)?;
        packet_buf.copy_from_slice(data);
        Ok(())
    }
pub fn send_slice ( & mut self , data : & [ u8 ] , endpoint : IpAddress ) -> Result < ( ) > { let packet_buf = self . send ( data . len ( ) , endpoint ) ? ; packet_buf . copy_from_slice ( data ) ; Ok ( ( ) ) }
Enqueue a packet to be sent to a given remote address, and fill it from a slice.
Enqueue a packet to be sent to a given remote address and fill it from a slice .
&mut self
data
&[u8]
endpoint
IpAddress
&mut self
data
&[u8]
endpoint
IpAddress