pub enum TimerRegistrationStatus {
Unregistered,
Scheduled,
Running,
}Expand description
Portable projection of provider callback-generation state.
This is independent of declaration lifetime: a retained declaration may
report Unregistered while it keeps callback authority for a later ensure.
Variants§
Unregistered
No callback generation is scheduled or running.
Scheduled
A wake-up generation is authoritative and consumer work is not running.
Running
Consumer work currently owns logical execution.
Implementations§
Trait Implementations§
Source§impl Clone for TimerRegistrationStatus
impl Clone for TimerRegistrationStatus
Source§fn clone(&self) -> TimerRegistrationStatus
fn clone(&self) -> TimerRegistrationStatus
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 TimerRegistrationStatus
Source§impl Debug for TimerRegistrationStatus
impl Debug for TimerRegistrationStatus
impl Eq for TimerRegistrationStatus
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 TimerRegistrationStatus
impl Hash for TimerRegistrationStatus
Source§impl Ord for TimerRegistrationStatus
impl Ord for TimerRegistrationStatus
Source§fn cmp(&self, other: &TimerRegistrationStatus) -> Ordering
fn cmp(&self, other: &TimerRegistrationStatus) -> 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 PartialEq for TimerRegistrationStatus
impl PartialEq for TimerRegistrationStatus
Source§impl PartialOrd for TimerRegistrationStatus
impl PartialOrd for TimerRegistrationStatus
impl StructuralPartialEq for TimerRegistrationStatus
Auto Trait Implementations§
impl Freeze for TimerRegistrationStatus
impl RefUnwindSafe for TimerRegistrationStatus
impl Send for TimerRegistrationStatus
impl Sync for TimerRegistrationStatus
impl Unpin for TimerRegistrationStatus
impl UnsafeUnpin for TimerRegistrationStatus
impl UnwindSafe for TimerRegistrationStatus
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