pub enum RetryOutcome {
Recovered(Exchange),
Stopped(Exchange),
Exhausted {
exchange: Exchange,
error: CamelError,
policy: Option<PolicyId>,
},
}Expand description
Result of a single retry attempt by RouteErrorHandler::retry_step.
Variants§
Recovered(Exchange)
Retry succeeded; pipeline continues with this Exchange.
Stopped(Exchange)
Retry attempt returned Stopped(ex). Bypasses handle_step —
Stop is successful control flow, not exhausted error handling.
Maps to PipelineOutcome::Stopped(ex) in run_steps.
Exhausted
All retry attempts exhausted. Handler decides via handle_step.
Trait Implementations§
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