pub enum WatchdogRuntimeStateSnapshot {
Scheduled {
scheduler_generation: u64,
deadline_ns: u64,
},
AwaitingWork {
successor_generation: u64,
successor_deadline_ns: u64,
attempt: WatchdogAttemptSnapshot,
},
}Expand description
Coherent watchdog timer state.
Variants§
Scheduled
One scheduler generation is authoritative and no work is outstanding.
Fields
AwaitingWork
A successor is authoritative while one work attempt is outstanding.
Trait Implementations§
Source§impl Clone for WatchdogRuntimeStateSnapshot
impl Clone for WatchdogRuntimeStateSnapshot
Source§fn clone(&self) -> WatchdogRuntimeStateSnapshot
fn clone(&self) -> WatchdogRuntimeStateSnapshot
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 WatchdogRuntimeStateSnapshot
Source§impl Debug for WatchdogRuntimeStateSnapshot
impl Debug for WatchdogRuntimeStateSnapshot
impl Eq for WatchdogRuntimeStateSnapshot
Source§impl Hash for WatchdogRuntimeStateSnapshot
impl Hash for WatchdogRuntimeStateSnapshot
Source§impl Ord for WatchdogRuntimeStateSnapshot
impl Ord for WatchdogRuntimeStateSnapshot
Source§fn cmp(&self, other: &WatchdogRuntimeStateSnapshot) -> Ordering
fn cmp(&self, other: &WatchdogRuntimeStateSnapshot) -> 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
Source§impl PartialOrd for WatchdogRuntimeStateSnapshot
impl PartialOrd for WatchdogRuntimeStateSnapshot
impl StructuralPartialEq for WatchdogRuntimeStateSnapshot
Auto Trait Implementations§
impl Freeze for WatchdogRuntimeStateSnapshot
impl RefUnwindSafe for WatchdogRuntimeStateSnapshot
impl Send for WatchdogRuntimeStateSnapshot
impl Sync for WatchdogRuntimeStateSnapshot
impl Unpin for WatchdogRuntimeStateSnapshot
impl UnsafeUnpin for WatchdogRuntimeStateSnapshot
impl UnwindSafe for WatchdogRuntimeStateSnapshot
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