pub enum TimerControlFailure {
GenerationExhausted,
DeadlineOverflow,
DelayOutOfRange,
DirectiveNotAllowed,
ProviderBindingFailed,
}Expand description
Typed terminal failure in pure timer control.
Variants§
GenerationExhausted
A callback generation counter reached its maximum.
DeadlineOverflow
Checked successor deadline arithmetic overflowed.
DelayOutOfRange
A requested relative delay cannot be encoded as u64 nanoseconds.
DirectiveNotAllowed
A directive is not legal for the timer’s configured policy.
ProviderBindingFailed
A checked registry effect could not establish canonical provider ownership.
Implementations§
Trait Implementations§
Source§impl Clone for TimerControlFailure
impl Clone for TimerControlFailure
Source§fn clone(&self) -> TimerControlFailure
fn clone(&self) -> TimerControlFailure
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 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
Source§fn cmp(&self, other: &TimerControlFailure) -> Ordering
fn cmp(&self, other: &TimerControlFailure) -> 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 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