pub enum OrdinaryRuntimeStateSnapshot {
Scheduled {
generation: u64,
deadline_ns: u64,
},
Running {
generation: u64,
},
}Expand description
Coherent ordinary timer state.
Variants§
Scheduled
One callback generation is scheduled.
Fields
Running
One callback generation owns logical execution.
Trait Implementations§
Source§impl Clone for OrdinaryRuntimeStateSnapshot
impl Clone for OrdinaryRuntimeStateSnapshot
Source§fn clone(&self) -> OrdinaryRuntimeStateSnapshot
fn clone(&self) -> OrdinaryRuntimeStateSnapshot
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 OrdinaryRuntimeStateSnapshot
Source§impl Debug for OrdinaryRuntimeStateSnapshot
impl Debug for OrdinaryRuntimeStateSnapshot
impl Eq for OrdinaryRuntimeStateSnapshot
Source§impl Hash for OrdinaryRuntimeStateSnapshot
impl Hash for OrdinaryRuntimeStateSnapshot
Source§impl Ord for OrdinaryRuntimeStateSnapshot
impl Ord for OrdinaryRuntimeStateSnapshot
Source§fn cmp(&self, other: &OrdinaryRuntimeStateSnapshot) -> Ordering
fn cmp(&self, other: &OrdinaryRuntimeStateSnapshot) -> 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 OrdinaryRuntimeStateSnapshot
impl PartialOrd for OrdinaryRuntimeStateSnapshot
impl StructuralPartialEq for OrdinaryRuntimeStateSnapshot
Auto Trait Implementations§
impl Freeze for OrdinaryRuntimeStateSnapshot
impl RefUnwindSafe for OrdinaryRuntimeStateSnapshot
impl Send for OrdinaryRuntimeStateSnapshot
impl Sync for OrdinaryRuntimeStateSnapshot
impl Unpin for OrdinaryRuntimeStateSnapshot
impl UnsafeUnpin for OrdinaryRuntimeStateSnapshot
impl UnwindSafe for OrdinaryRuntimeStateSnapshot
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