pub struct RecoveryConfig {
pub retry_policy: RetryPolicy,
pub circuit_breaker: CircuitBreakerPolicy,
}Expand description
Configuration for the error recovery system
Fields§
§retry_policy: RetryPolicyRetry policy configuration
circuit_breaker: CircuitBreakerPolicyCircuit breaker configuration
Trait Implementations§
Source§impl Clone for RecoveryConfig
impl Clone for RecoveryConfig
Source§fn clone(&self) -> RecoveryConfig
fn clone(&self) -> RecoveryConfig
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 RecoveryConfig
impl Debug for RecoveryConfig
Source§impl Default for RecoveryConfig
impl Default for RecoveryConfig
Source§impl PartialEq for RecoveryConfig
impl PartialEq for RecoveryConfig
impl StructuralPartialEq for RecoveryConfig
Auto Trait Implementations§
impl Freeze for RecoveryConfig
impl RefUnwindSafe for RecoveryConfig
impl Send for RecoveryConfig
impl Sync for RecoveryConfig
impl Unpin for RecoveryConfig
impl UnwindSafe for RecoveryConfig
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