pub struct GuardCondition { /* 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 GuardCondition
impl Sync for GuardCondition
Auto Trait Implementations§
impl Freeze for GuardCondition
impl RefUnwindSafe for GuardCondition
impl Unpin for GuardCondition
impl UnsafeUnpin for GuardCondition
impl UnwindSafe for GuardCondition
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