pub struct Condition<T>where
T: Clone,{ /* private fields */ }
👎Deprecated since 0.11.0: Please use tokio::sync::oneshot::Sender instead.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Condition<T>
impl<T> !RefUnwindSafe for Condition<T>
impl<T> Send for Condition<T>where
T: Send,
impl<T> Sync for Condition<T>where
T: Send,
impl<T> Unpin for Condition<T>
impl<T> !UnwindSafe for Condition<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