pub struct DelayedTaskState;Expand description
Atomic task-state transitions for delayed task scheduling.
Implementations§
Source§impl DelayedTaskState
impl DelayedTaskState
Sourcepub fn is_cancelled(task_state: &AtomicU8) -> bool
pub fn is_cancelled(task_state: &AtomicU8) -> bool
Returns whether a task state has been cancelled.
Auto Trait Implementations§
impl Freeze for DelayedTaskState
impl RefUnwindSafe for DelayedTaskState
impl Send for DelayedTaskState
impl Sync for DelayedTaskState
impl Unpin for DelayedTaskState
impl UnsafeUnpin for DelayedTaskState
impl UnwindSafe for DelayedTaskState
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