pub enum ExceptionDisposition {
Propagate,
Handled,
Continued,
}Expand description
Configures what happens after an error handler processes a matched exception.
Variants§
Propagate
After retry exhaustion / on_steps / DLC, re-throw to upstream.
Handled
Suppress re-throw. The handler’s exchange is the final result.
Continued
Clear the error. The pipeline continues to the NEXT step.
Trait Implementations§
Source§impl Clone for ExceptionDisposition
impl Clone for ExceptionDisposition
Source§fn clone(&self) -> ExceptionDisposition
fn clone(&self) -> ExceptionDisposition
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ExceptionDisposition
Source§impl Debug for ExceptionDisposition
impl Debug for ExceptionDisposition
Source§impl Default for ExceptionDisposition
impl Default for ExceptionDisposition
Source§fn default() -> ExceptionDisposition
fn default() -> ExceptionDisposition
Returns the “default value” for a type. Read more
impl Eq for ExceptionDisposition
Source§impl PartialEq for ExceptionDisposition
impl PartialEq for ExceptionDisposition
Source§fn eq(&self, other: &ExceptionDisposition) -> bool
fn eq(&self, other: &ExceptionDisposition) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ExceptionDisposition
Auto Trait Implementations§
impl Freeze for ExceptionDisposition
impl RefUnwindSafe for ExceptionDisposition
impl Send for ExceptionDisposition
impl Sync for ExceptionDisposition
impl Unpin for ExceptionDisposition
impl UnsafeUnpin for ExceptionDisposition
impl UnwindSafe for ExceptionDisposition
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