pub enum ResetMode {
Auto,
Manual,
}Expand description
How an event returns to unsignalled after it is set.
Fixed when the event is created: Windows offers no way to change it, or to ask an existing event which it is.
Variants§
Auto
The event returns to unsignalled as soon as it releases one waiting
thread. Each Event::set therefore releases exactly one waiter; with
nobody waiting, the event stays signalled until somebody waits.
Manual
The event stays signalled, releasing every waiter, until
Event::reset is called.
Trait Implementations§
impl Copy for ResetMode
impl Eq for ResetMode
impl StructuralPartialEq for ResetMode
Auto Trait Implementations§
impl Freeze for ResetMode
impl RefUnwindSafe for ResetMode
impl Send for ResetMode
impl Sync for ResetMode
impl Unpin for ResetMode
impl UnsafeUnpin for ResetMode
impl UnwindSafe for ResetMode
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