pub enum InactiveReason {
NeverScheduled,
Stopped,
Cancelled,
InvariantFailure,
ControlFailure(TimerControlFailure),
}Expand description
Why a retained declaration currently has no authoritative callback.
Variants§
NeverScheduled
The declaration has not yet been scheduled.
Stopped
Work returned a terminal stop decision.
Cancelled
Explicit cancellation won request arbitration.
InvariantFailure
Consumer work reported an invariant or terminal failure.
ControlFailure(TimerControlFailure)
Checked pure control reached a terminal failure.
Trait Implementations§
Source§impl Clone for InactiveReason
impl Clone for InactiveReason
Source§fn clone(&self) -> InactiveReason
fn clone(&self) -> InactiveReason
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 InactiveReason
Source§impl Debug for InactiveReason
impl Debug for InactiveReason
impl Eq for InactiveReason
Source§impl Hash for InactiveReason
impl Hash for InactiveReason
Source§impl Ord for InactiveReason
impl Ord for InactiveReason
Source§fn cmp(&self, other: &InactiveReason) -> Ordering
fn cmp(&self, other: &InactiveReason) -> 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 InactiveReason
impl PartialEq for InactiveReason
Source§impl PartialOrd for InactiveReason
impl PartialOrd for InactiveReason
impl StructuralPartialEq for InactiveReason
Auto Trait Implementations§
impl Freeze for InactiveReason
impl RefUnwindSafe for InactiveReason
impl Send for InactiveReason
impl Sync for InactiveReason
impl Unpin for InactiveReason
impl UnsafeUnpin for InactiveReason
impl UnwindSafe for InactiveReason
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