pub struct Recv<T, P>(/* private fields */);
Expand description
Receive T
, then resume with protocol P
.
Trait Implementations§
Auto Trait Implementations§
impl<T, P> Freeze for Recv<T, P>
impl<T, P> RefUnwindSafe for Recv<T, P>where
T: RefUnwindSafe,
P: RefUnwindSafe,
impl<T, P> Send for Recv<T, P>
impl<T, P> Sync for Recv<T, P>
impl<T, P> Unpin for Recv<T, P>
impl<T, P> UnwindSafe for Recv<T, P>where
T: UnwindSafe,
P: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more