Struct async_compatibility_layer::channel::OneShotSender
source · pub struct OneShotSender<T>(/* private fields */);Expand description
A single-use sender, created with oneshot
Implementations§
source§impl<T> OneShotSender<T>
impl<T> OneShotSender<T>
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for OneShotSender<T>
impl<T> RefUnwindSafe for OneShotSender<T>
impl<T> Send for OneShotSender<T>where
T: Send,
impl<T> Sync for OneShotSender<T>where
T: Send,
impl<T> Unpin for OneShotSender<T>
impl<T> UnwindSafe for OneShotSender<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