Enum synchronoise::event::SignalKind
source · [−]pub enum SignalKind {
Auto,
Manual,
}
Expand description
Determines the reset behavior of a SignalEvent
.
See SignalEvent
for more information.
Variants
Auto
An activated SignalEvent
automatically resets when a thread is resumed.
SignalEvent
s with this kind will only resume one thread at a time.
Manual
An activated SignalEvent
must be manually reset to block threads again.
SignalEvent
s with this kind will signal every waiting thread to continue at once.
Trait Implementations
sourceimpl Clone for SignalKind
impl Clone for SignalKind
sourcefn clone(&self) -> SignalKind
fn clone(&self) -> SignalKind
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SignalKind
impl Debug for SignalKind
sourceimpl PartialEq<SignalKind> for SignalKind
impl PartialEq<SignalKind> for SignalKind
sourcefn eq(&self, other: &SignalKind) -> bool
fn eq(&self, other: &SignalKind) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl Copy for SignalKind
impl StructuralPartialEq for SignalKind
Auto Trait Implementations
impl RefUnwindSafe for SignalKind
impl Send for SignalKind
impl Sync for SignalKind
impl Unpin for SignalKind
impl UnwindSafe for SignalKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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