pub struct Deliver<T> { /* private fields */ }Expand description
The sending half of a oneshot. Send whenever T is, so a platform’s completion thread
can hold it; delivering wakes the receiver outside the lock.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Deliver<T>
impl<T> RefUnwindSafe for Deliver<T>
impl<T> Send for Deliver<T>
impl<T> Sync for Deliver<T>
impl<T> Unpin for Deliver<T>
impl<T> UnsafeUnpin for Deliver<T>
impl<T> UnwindSafe for Deliver<T>
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