pub struct AutoResetEvent(/* private fields */);
Expand description
Wrapper of WaitEvent
of type bool
, which focuses on waiting for true
with automatic reset to false
.
Implementations§
Trait Implementations§
Source§impl Clone for AutoResetEvent
impl Clone for AutoResetEvent
Source§fn clone(&self) -> AutoResetEvent
fn clone(&self) -> AutoResetEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl From<AutoResetEvent> for WaitEvent<bool>
impl From<AutoResetEvent> for WaitEvent<bool>
Source§fn from(value: AutoResetEvent) -> Self
fn from(value: AutoResetEvent) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AutoResetEvent
impl RefUnwindSafe for AutoResetEvent
impl Send for AutoResetEvent
impl Sync for AutoResetEvent
impl Unpin for AutoResetEvent
impl UnwindSafe for AutoResetEvent
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