pub enum TimerCompletionOutcome {
Success,
NoWork,
RetryableFailure,
InvariantFailure,
}Expand description
Outcome of one callback that returned to the runtime.
Variants§
Success
Callback completed useful work successfully.
NoWork
Callback completed normally but found no work.
RetryableFailure
Expected failure permits retry policy.
InvariantFailure
Unexpected invariant or terminal failure.
Implementations§
Trait Implementations§
Source§impl Clone for TimerCompletionOutcome
impl Clone for TimerCompletionOutcome
Source§fn clone(&self) -> TimerCompletionOutcome
fn clone(&self) -> TimerCompletionOutcome
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 TimerCompletionOutcome
Source§impl Debug for TimerCompletionOutcome
impl Debug for TimerCompletionOutcome
impl Eq for TimerCompletionOutcome
Source§impl Hash for TimerCompletionOutcome
impl Hash for TimerCompletionOutcome
Source§impl Ord for TimerCompletionOutcome
impl Ord for TimerCompletionOutcome
Source§fn cmp(&self, other: &TimerCompletionOutcome) -> Ordering
fn cmp(&self, other: &TimerCompletionOutcome) -> 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 TimerCompletionOutcome
impl PartialEq for TimerCompletionOutcome
Source§impl PartialOrd for TimerCompletionOutcome
impl PartialOrd for TimerCompletionOutcome
impl StructuralPartialEq for TimerCompletionOutcome
Auto Trait Implementations§
impl Freeze for TimerCompletionOutcome
impl RefUnwindSafe for TimerCompletionOutcome
impl Send for TimerCompletionOutcome
impl Sync for TimerCompletionOutcome
impl Unpin for TimerCompletionOutcome
impl UnsafeUnpin for TimerCompletionOutcome
impl UnwindSafe for TimerCompletionOutcome
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