pub struct ErrorHandler {
pub max_retries: u32,
pub backoff: BackoffStrategy,
pub fallback_stage: Option<StageId>,
pub propagate: bool,
}Expand description
Error handler for workflow stages
Fields§
§max_retries: u32Maximum retry attempts
backoff: BackoffStrategyBackoff strategy
fallback_stage: Option<StageId>Fallback stage on failure
propagate: boolWhether to propagate the error
Trait Implementations§
Source§impl Clone for ErrorHandler
impl Clone for ErrorHandler
Source§fn clone(&self) -> ErrorHandler
fn clone(&self) -> ErrorHandler
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ErrorHandler
impl Debug for ErrorHandler
Source§impl<'de> Deserialize<'de> for ErrorHandler
impl<'de> Deserialize<'de> for ErrorHandler
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ErrorHandler
impl RefUnwindSafe for ErrorHandler
impl Send for ErrorHandler
impl Sync for ErrorHandler
impl Unpin for ErrorHandler
impl UnwindSafe for ErrorHandler
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