pub struct Condition<T = ()> { /* private fields */ }Expand description
Condition allows to notify multiple waiters at the same time
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T = ()> !RefUnwindSafe for Condition<T>
impl<T = ()> !Send for Condition<T>
impl<T = ()> !Sync for Condition<T>
impl<T = ()> !UnwindSafe for Condition<T>
impl<T> Freeze for Condition<T>where
Cell<Inner<T>>: Freeze,
impl<T> Unpin for Condition<T>where
Cell<Inner<T>>: Unpin,
impl<T> UnsafeUnpin for Condition<T>where
Cell<Inner<T>>: UnsafeUnpin,
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