pub struct ManualResetEvent(/* private fields */);
Expand description
Wrapper of WaitEvent
of type bool
, which focuses on waiting for true
without resetting.
Implementations§
Trait Implementations§
Source§impl Clone for ManualResetEvent
impl Clone for ManualResetEvent
Source§fn clone(&self) -> ManualResetEvent
fn clone(&self) -> ManualResetEvent
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<ManualResetEvent> for WaitEvent<bool>
impl From<ManualResetEvent> for WaitEvent<bool>
Source§fn from(value: ManualResetEvent) -> Self
fn from(value: ManualResetEvent) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ManualResetEvent
impl RefUnwindSafe for ManualResetEvent
impl Send for ManualResetEvent
impl Sync for ManualResetEvent
impl Unpin for ManualResetEvent
impl UnwindSafe for ManualResetEvent
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