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§
Object Safety§
This trait is not object safe.