pub enum TimerSchedulingMode {
Once,
AfterCompletion,
Deadline,
Retry,
Continuation,
Watchdog,
}Expand description
Effective reason for the currently authoritative schedule.
Variants§
Once
Initial or explicitly requested one-shot work.
AfterCompletion
Recurrence delayed from the previous completion.
Deadline
An explicit absolute deadline.
Retry
A delayed retry following an expected failure.
Continuation
Immediate continuation of bounded work.
Watchdog
A successor committed before fallible work begins.
Implementations§
Trait Implementations§
Source§impl Clone for TimerSchedulingMode
impl Clone for TimerSchedulingMode
Source§fn clone(&self) -> TimerSchedulingMode
fn clone(&self) -> TimerSchedulingMode
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 TimerSchedulingMode
Source§impl Debug for TimerSchedulingMode
impl Debug for TimerSchedulingMode
impl Eq for TimerSchedulingMode
Source§impl Hash for TimerSchedulingMode
impl Hash for TimerSchedulingMode
Source§impl Ord for TimerSchedulingMode
impl Ord for TimerSchedulingMode
Source§fn cmp(&self, other: &TimerSchedulingMode) -> Ordering
fn cmp(&self, other: &TimerSchedulingMode) -> 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 TimerSchedulingMode
impl PartialEq for TimerSchedulingMode
Source§impl PartialOrd for TimerSchedulingMode
impl PartialOrd for TimerSchedulingMode
impl StructuralPartialEq for TimerSchedulingMode
Auto Trait Implementations§
impl Freeze for TimerSchedulingMode
impl RefUnwindSafe for TimerSchedulingMode
impl Send for TimerSchedulingMode
impl Sync for TimerSchedulingMode
impl Unpin for TimerSchedulingMode
impl UnsafeUnpin for TimerSchedulingMode
impl UnwindSafe for TimerSchedulingMode
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