#[repr(align(8))]pub struct Signal { /* private fields */ }
Expand description
Simple Mutex + Condvar wait notify primitive. Can be used for waiting without spinning. This
should be wrapped as an Arc
Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Signal
impl Send for Signal
impl Sync for Signal
impl Unpin for Signal
impl UnwindSafe for Signal
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more