pub struct RecoveryConfig {
pub retry_policy: RetryPolicy,
pub circuit_breaker: CircuitBreakerPolicy,
}Expand description
Recovery configuration
Fields§
§retry_policy: RetryPolicyRetry policy
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<'de> Deserialize<'de> for RecoveryConfig
impl<'de> Deserialize<'de> for RecoveryConfig
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
Source§impl PartialEq for RecoveryConfig
impl PartialEq for RecoveryConfig
Source§impl Serialize for RecoveryConfig
impl Serialize 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