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§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.