pub enum OnFailActionTaken {
Retry {
attempt: u32,
max: u32,
delay_secs: Option<u64>,
},
RetryExhausted {
max: u32,
},
Escalated,
None,
}Expand description
What action was taken by process_on_fail.
Variants§
Retry
Claim released for retry (attempt N / max M).
RetryExhausted
Max retries exhausted — claim kept.
Escalated
Priority escalated and/or message appended.
None
No on_fail configured.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OnFailActionTaken
impl RefUnwindSafe for OnFailActionTaken
impl Send for OnFailActionTaken
impl Sync for OnFailActionTaken
impl Unpin for OnFailActionTaken
impl UnsafeUnpin for OnFailActionTaken
impl UnwindSafe for OnFailActionTaken
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more