pub enum AfterCompletionDecision {
Stop,
ContinueImmediately,
RetryAfter(Duration),
ScheduleAt(u64),
RecurAfterCompletion,
}Expand description
Scheduling proposal after a normally returned after-completion invocation.
Variants§
Stop
Stop unless a pending authoritative command selects another schedule.
ContinueImmediately
Continue in a later timer message with zero delay.
RetryAfter(Duration)
Retry after a checked relative delay.
ScheduleAt(u64)
Schedule at an absolute IC timestamp in nanoseconds.
RecurAfterCompletion
Recur using the registration’s configured cadence after completion.
Trait Implementations§
Source§impl Clone for AfterCompletionDecision
impl Clone for AfterCompletionDecision
impl Copy for AfterCompletionDecision
Source§impl Debug for AfterCompletionDecision
impl Debug for AfterCompletionDecision
impl Eq for AfterCompletionDecision
Source§impl PartialEq for AfterCompletionDecision
impl PartialEq for AfterCompletionDecision
impl StructuralPartialEq for AfterCompletionDecision
Source§impl TryFrom<AfterCompletionDecision> for TimerDirectiveSnapshot
impl TryFrom<AfterCompletionDecision> for TimerDirectiveSnapshot
Source§type Error = ScheduleError
type Error = ScheduleError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for AfterCompletionDecision
impl RefUnwindSafe for AfterCompletionDecision
impl Send for AfterCompletionDecision
impl Sync for AfterCompletionDecision
impl Unpin for AfterCompletionDecision
impl UnsafeUnpin for AfterCompletionDecision
impl UnwindSafe for AfterCompletionDecision
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