pub fn recv_dgram<T>(self, buf: T) -> RecvDgram<T>
        where T: AsMut<[u8]>,
    {
        RecvDgram::new(self, buf)
    }
/// Creates a future that receive a datagram to be written to the buffer
/// provided.
///
/// The returned future will return after a datagram has been received on
/// this socket. The future will resolve to the socket, the buffer, the
/// amount of data read, and the address the data was received from.
///
/// An error during reading will cause the socket and buffer to get
/// destroyed.
///
/// The `buf` parameter here only requires the `AsMut<[u8]>` trait, which
/// should be broadly applicable to accepting data which can be converted
/// to a slice.
Creates a future that receive a datagram to be written to the buffer
provided.

The returned future will return after a datagram has been received on
this socket. The future will resolve to the socket, the buffer, the
amount of data read, and the address the data was received from.

An error during reading will cause the socket and buffer to get
destroyed.

The `buf` parameter here only requires the `AsMut<[u8]>` trait, which
should be broadly applicable to accepting data which can be converted
to a slice.
Creates a future that receive a datagram to be written to the buffer provided . The returned future will return after a datagram has been received on this socket . The future will resolve to the socket the buffer the amount of data read and the address the data was received from . An error during reading will cause the socket and buffer to get destroyed . The ` buf ` parameter here only requires the ` AsMut< [ u8 ] > ` trait which should be broadly applicable to accepting data which can be converted to a slice .
pub fn recv_dgram<T>(self, buf: T) -> RecvDgram<T>
        where T: AsMut<[u8]>,
    {
        RecvDgram::new(self, buf)
    }
pub fn recv_dgram < T > ( self , buf : T ) -> RecvDgram < T > where T : AsMut < [ u8 ] > , { RecvDgram :: new ( self , buf ) }
Creates a future that receive a datagram to be written to the buffer
provided.
Creates a future that receive a datagram to be written to the buffer provided .
self
buf
T
self
buf
T