pub enum ErrorRecoveryStrategy {
RetryWithBackoff {
max_attempts: usize,
base_delay_ms: u64,
},
FallbackMethod,
SkipEncryption,
ManualIntervention,
FailFast,
}
Expand description
Error recovery strategies
Variants§
RetryWithBackoff
Retry with exponential backoff
FallbackMethod
Use fallback encryption method
SkipEncryption
Skip encryption for this operation
ManualIntervention
Request user intervention
FailFast
Fail fast
Trait Implementations§
Source§impl Clone for ErrorRecoveryStrategy
impl Clone for ErrorRecoveryStrategy
Source§fn clone(&self) -> ErrorRecoveryStrategy
fn clone(&self) -> ErrorRecoveryStrategy
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 moreAuto Trait Implementations§
impl Freeze for ErrorRecoveryStrategy
impl RefUnwindSafe for ErrorRecoveryStrategy
impl Send for ErrorRecoveryStrategy
impl Sync for ErrorRecoveryStrategy
impl Unpin for ErrorRecoveryStrategy
impl UnwindSafe for ErrorRecoveryStrategy
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