pub enum RetryOutcome {
Recovered(Exchange),
Exhausted {
exchange: Exchange,
error: CamelError,
policy: Option<PolicyId>,
},
}Expand description
Result of Phase 1 (retry) of error handling.
Variants§
Recovered(Exchange)
Retry succeeded — pipeline continues normally.
Exhausted
Retries exhausted or no retry configured.
Auto Trait Implementations§
impl !Freeze for RetryOutcome
impl !RefUnwindSafe for RetryOutcome
impl !UnwindSafe for RetryOutcome
impl Send for RetryOutcome
impl Sync for RetryOutcome
impl Unpin for RetryOutcome
impl UnsafeUnpin for RetryOutcome
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