pub enum RetryRule {
NotNeeded,
UsesRetry,
RequeueWithoutRetry,
Never,
}Expand description
What the master does after an attempt ended with a given status.
Variants§
NotNeeded
Nothing to retry: the attempt succeeded.
UsesRetry
Retry if the task has retries left; the attempt uses one of them.
RequeueWithoutRetry
Run again without using a retry (the attempt wasn’t the task’s fault).
Never
Never retried.
Trait Implementations§
impl Copy for RetryRule
impl Eq for RetryRule
impl StructuralPartialEq for RetryRule
Auto Trait Implementations§
impl Freeze for RetryRule
impl RefUnwindSafe for RetryRule
impl Send for RetryRule
impl Sync for RetryRule
impl Unpin for RetryRule
impl UnsafeUnpin for RetryRule
impl UnwindSafe for RetryRule
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