pub struct ErrorHandlingConfig {
pub auto_retry: bool,
pub max_retries: u32,
pub retry_delay: Duration,
pub graceful_degradation: bool,
pub sync_fallback: bool,
pub panic_on_fatal: bool,
}Expand description
Error handling configuration.
Fields§
§auto_retry: boolRetry failed operations automatically
max_retries: u32Maximum number of retries
retry_delay: DurationRetry delay
graceful_degradation: boolEnable graceful degradation
sync_fallback: boolFallback to synchronous I/O on errors
panic_on_fatal: boolPanic on unrecoverable errors
Trait Implementations§
Source§impl Clone for ErrorHandlingConfig
impl Clone for ErrorHandlingConfig
Source§fn clone(&self) -> ErrorHandlingConfig
fn clone(&self) -> ErrorHandlingConfig
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 ErrorHandlingConfig
impl Debug for ErrorHandlingConfig
Auto Trait Implementations§
impl Freeze for ErrorHandlingConfig
impl RefUnwindSafe for ErrorHandlingConfig
impl Send for ErrorHandlingConfig
impl Sync for ErrorHandlingConfig
impl Unpin for ErrorHandlingConfig
impl UnwindSafe for ErrorHandlingConfig
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