pub struct GuardConditionHandle { /* private fields */ }Expand description
Handle for triggering a guard condition from outside the executor.
Obtained from Executor::register_guard_condition.
Safe to use from any thread — the inner &'static AtomicBool is inherently
Send + Sync.
Implementations§
Trait Implementations§
impl Send for GuardConditionHandle
impl Sync for GuardConditionHandle
Auto Trait Implementations§
impl Freeze for GuardConditionHandle
impl RefUnwindSafe for GuardConditionHandle
impl Unpin for GuardConditionHandle
impl UnsafeUnpin for GuardConditionHandle
impl UnwindSafe for GuardConditionHandle
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