pub struct StopFlagHandle(/* private fields */);Expand description
Write-only handle to a guard stop flag.
Can only set the flag to true (request stop). Cannot read or reset it.
This prevents external callers from observing or clearing internal state.
Implementations§
Trait Implementations§
Source§impl Clone for StopFlagHandle
impl Clone for StopFlagHandle
Source§fn clone(&self) -> StopFlagHandle
fn clone(&self) -> StopFlagHandle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for StopFlagHandle
impl RefUnwindSafe for StopFlagHandle
impl Send for StopFlagHandle
impl Sync for StopFlagHandle
impl Unpin for StopFlagHandle
impl UnsafeUnpin for StopFlagHandle
impl UnwindSafe for StopFlagHandle
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