pub struct Recv<'a, B> { /* private fields */ }Expand description
The Future behind UdpSocket::recv.
Trait Implementations
Auto Trait Implementations
impl<'a, B> RefUnwindSafe for Recv<'a, B>where
B: RefUnwindSafe,
impl<'a, B> Send for Recv<'a, B>where
B: Send,
impl<'a, B> Sync for Recv<'a, B>where
B: Sync,
impl<'a, B> Unpin for Recv<'a, B>where
B: Unpin,
impl<'a, B> !UnwindSafe for Recv<'a, B>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere
F: Future,
type IntoFuture = F
type IntoFuture = F
Which kind of future are we turning this into?
sourcefn into_future(self) -> <F as IntoFuture>::IntoFuture
fn into_future(self) -> <F as IntoFuture>::IntoFuture
Creates a future from a value. Read more