domain::net::client::protocol

Trait AsyncDgramRecvEx

source
pub trait AsyncDgramRecvEx: AsyncDgramRecv {
    // Provided method
    fn recv<'a>(&'a mut self, buf: &'a mut [u8]) -> DgramRecv<'a, Self> 
       where Self: Unpin { ... }
}
Expand description

Convenvience trait to turn poll_recv into an asynchronous function.

Provided Methods§

source

fn recv<'a>(&'a mut self, buf: &'a mut [u8]) -> DgramRecv<'a, Self>
where Self: Unpin,

Asynchronous receive function.

Object Safety§

This trait is not object safe.

Implementors§