pub enum TimerControlFailure {
GenerationExhausted,
DeadlineOverflow,
DelayOutOfRange,
DirectiveNotAllowed,
ProviderBindingFailed,
}Expand description
Typed terminal failure in pure timer control.
Variants§
GenerationExhausted
A new callback would exceed its generation counter’s maximum. Cancellation does not allocate a generation and cannot cause this failure.
DeadlineOverflow
Checked successor deadline arithmetic overflowed.
DelayOutOfRange
A requested relative delay cannot be encoded as u64 nanoseconds.
DirectiveNotAllowed
An internal erased proposal is inconsistent with its configured policy. Public callback result types cannot express a policy-invalid decision.
ProviderBindingFailed
A checked registry effect could not establish canonical provider ownership.
Implementations§
Trait Implementations§
Source§impl Clone for TimerControlFailure
impl Clone for TimerControlFailure
impl Copy for TimerControlFailure
Source§impl Debug for TimerControlFailure
impl Debug for TimerControlFailure
impl Eq for TimerControlFailure
Source§impl Hash for TimerControlFailure
impl Hash for TimerControlFailure
Source§impl Ord for TimerControlFailure
impl Ord for TimerControlFailure
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for TimerControlFailure
impl PartialEq for TimerControlFailure
Source§impl PartialOrd for TimerControlFailure
impl PartialOrd for TimerControlFailure
impl StructuralPartialEq for TimerControlFailure
Auto Trait Implementations§
impl Freeze for TimerControlFailure
impl RefUnwindSafe for TimerControlFailure
impl Send for TimerControlFailure
impl Sync for TimerControlFailure
impl Unpin for TimerControlFailure
impl UnsafeUnpin for TimerControlFailure
impl UnwindSafe for TimerControlFailure
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