Enum retry_policies::RetryDecision
source · pub enum RetryDecision {
Retry {
execute_after: SystemTime,
},
DoNotRetry,
}
Expand description
Outcome of evaluating a retry policy for a failed task.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RetryDecision
impl RefUnwindSafe for RetryDecision
impl Send for RetryDecision
impl Sync for RetryDecision
impl Unpin for RetryDecision
impl UnwindSafe for RetryDecision
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