pub struct TimerStateSnapshot {
pub enabled: bool,
pub registration: TimerRegistrationStatus,
pub condition: TimerProcessCondition,
pub generation: u64,
pub in_flight: bool,
}Expand description
State portion of the canonical timer snapshot.
Fields§
§enabled: boolWhether configuration permits future execution.
registration: TimerRegistrationStatusCurrent logical control registration.
condition: TimerProcessConditionOperator-facing process condition.
generation: u64Latest allocated callback generation.
in_flight: boolWhether one callback currently owns logical execution.
Trait Implementations§
Source§impl Clone for TimerStateSnapshot
impl Clone for TimerStateSnapshot
Source§fn clone(&self) -> TimerStateSnapshot
fn clone(&self) -> TimerStateSnapshot
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 TimerStateSnapshot
Source§impl Debug for TimerStateSnapshot
impl Debug for TimerStateSnapshot
Source§impl Default for TimerStateSnapshot
impl Default for TimerStateSnapshot
impl Eq for TimerStateSnapshot
Source§impl PartialEq for TimerStateSnapshot
impl PartialEq for TimerStateSnapshot
impl StructuralPartialEq for TimerStateSnapshot
Auto Trait Implementations§
impl Freeze for TimerStateSnapshot
impl RefUnwindSafe for TimerStateSnapshot
impl Send for TimerStateSnapshot
impl Sync for TimerStateSnapshot
impl Unpin for TimerStateSnapshot
impl UnsafeUnpin for TimerStateSnapshot
impl UnwindSafe for TimerStateSnapshot
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