pub struct AsyncSignal { /* private fields */ }Expand description
Thread-safe signal primitive.
Cloning an AsyncSignal produces a handle that shares the same underlying
state — both the original and every clone observe the same is_set value and
wait on the same condition variable.
Trait Implementations§
Source§impl Clone for AsyncSignal
impl Clone for AsyncSignal
Source§fn clone(&self) -> AsyncSignal
fn clone(&self) -> AsyncSignal
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AsyncSignal
impl RefUnwindSafe for AsyncSignal
impl Send for AsyncSignal
impl Sync for AsyncSignal
impl Unpin for AsyncSignal
impl UnsafeUnpin for AsyncSignal
impl UnwindSafe for AsyncSignal
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