pub enum TimerRuntimeStateSnapshot {
Inactive {
reason: InactiveReason,
},
Ordinary(OrdinaryRuntimeStateSnapshot),
Watchdog(WatchdogRuntimeStateSnapshot),
}Expand description
Closed policy-specific runtime state.
Variants§
Inactive
The declaration has no scheduled or running callback generation.
Fields
§
reason: InactiveReasonReason scheduling is inactive.
Ordinary(OrdinaryRuntimeStateSnapshot)
State legal only for Once and AfterCompletion.
Watchdog(WatchdogRuntimeStateSnapshot)
State legal only for Watchdog.
Trait Implementations§
Source§impl Clone for TimerRuntimeStateSnapshot
impl Clone for TimerRuntimeStateSnapshot
Source§fn clone(&self) -> TimerRuntimeStateSnapshot
fn clone(&self) -> TimerRuntimeStateSnapshot
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 TimerRuntimeStateSnapshot
Source§impl Debug for TimerRuntimeStateSnapshot
impl Debug for TimerRuntimeStateSnapshot
impl Eq for TimerRuntimeStateSnapshot
Source§impl From<TimerRuntimeStateSnapshot> for TimerRegistrationStatus
impl From<TimerRuntimeStateSnapshot> for TimerRegistrationStatus
Source§fn from(value: TimerRuntimeStateSnapshot) -> Self
fn from(value: TimerRuntimeStateSnapshot) -> Self
Converts to this type from the input type.
Source§impl Hash for TimerRuntimeStateSnapshot
impl Hash for TimerRuntimeStateSnapshot
Source§impl Ord for TimerRuntimeStateSnapshot
impl Ord for TimerRuntimeStateSnapshot
Source§fn cmp(&self, other: &TimerRuntimeStateSnapshot) -> Ordering
fn cmp(&self, other: &TimerRuntimeStateSnapshot) -> 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 TimerRuntimeStateSnapshot
impl PartialOrd for TimerRuntimeStateSnapshot
impl StructuralPartialEq for TimerRuntimeStateSnapshot
Auto Trait Implementations§
impl Freeze for TimerRuntimeStateSnapshot
impl RefUnwindSafe for TimerRuntimeStateSnapshot
impl Send for TimerRuntimeStateSnapshot
impl Sync for TimerRuntimeStateSnapshot
impl Unpin for TimerRuntimeStateSnapshot
impl UnsafeUnpin for TimerRuntimeStateSnapshot
impl UnwindSafe for TimerRuntimeStateSnapshot
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