pub enum WatchdogAttemptStatus {
Dispatched,
Running,
}Expand description
Status of the watchdog attempt paired with a committed successor.
Variants§
Dispatched
The scheduler committed the work callback, which has not committed a start.
Running
The accepted work callback is currently executing synchronously.
Trait Implementations§
Source§impl Clone for WatchdogAttemptStatus
impl Clone for WatchdogAttemptStatus
Source§fn clone(&self) -> WatchdogAttemptStatus
fn clone(&self) -> WatchdogAttemptStatus
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 moreimpl Copy for WatchdogAttemptStatus
Source§impl Debug for WatchdogAttemptStatus
impl Debug for WatchdogAttemptStatus
impl Eq for WatchdogAttemptStatus
Source§impl Hash for WatchdogAttemptStatus
impl Hash for WatchdogAttemptStatus
Source§impl Ord for WatchdogAttemptStatus
impl Ord for WatchdogAttemptStatus
Source§fn cmp(&self, other: &WatchdogAttemptStatus) -> Ordering
fn cmp(&self, other: &WatchdogAttemptStatus) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for WatchdogAttemptStatus
impl PartialEq for WatchdogAttemptStatus
Source§impl PartialOrd for WatchdogAttemptStatus
impl PartialOrd for WatchdogAttemptStatus
impl StructuralPartialEq for WatchdogAttemptStatus
Auto Trait Implementations§
impl Freeze for WatchdogAttemptStatus
impl RefUnwindSafe for WatchdogAttemptStatus
impl Send for WatchdogAttemptStatus
impl Sync for WatchdogAttemptStatus
impl Unpin for WatchdogAttemptStatus
impl UnsafeUnpin for WatchdogAttemptStatus
impl UnwindSafe for WatchdogAttemptStatus
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