pub enum ErrorHandlingStrategy {
FailFast,
ContinueOnError,
IsolateAndRetry,
CircuitBreaker,
}Expand description
Error handling strategies for batch processing
Variants§
FailFast
Fail entire batch on first error
ContinueOnError
Continue processing despite individual failures
IsolateAndRetry
Isolate failed items and retry separately
CircuitBreaker
Use circuit breaker pattern
Trait Implementations§
Source§impl Clone for ErrorHandlingStrategy
impl Clone for ErrorHandlingStrategy
Source§fn clone(&self) -> ErrorHandlingStrategy
fn clone(&self) -> ErrorHandlingStrategy
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 ErrorHandlingStrategy
impl Debug for ErrorHandlingStrategy
Source§impl<'de> Deserialize<'de> for ErrorHandlingStrategy
impl<'de> Deserialize<'de> for ErrorHandlingStrategy
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 ErrorHandlingStrategy
impl RefUnwindSafe for ErrorHandlingStrategy
impl Send for ErrorHandlingStrategy
impl Sync for ErrorHandlingStrategy
impl Unpin for ErrorHandlingStrategy
impl UnwindSafe for ErrorHandlingStrategy
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