Struct sync_wait_object::AutoResetEvent
source · pub struct AutoResetEvent(_);
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 copy 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.