pub struct ValkeyRecoveryConfig {
pub retry_attempts: usize,
pub initial_backoff: Duration,
pub max_backoff: Duration,
pub probe_interval: Duration,
}Fields§
§retry_attempts: usize§initial_backoff: Duration§max_backoff: Duration§probe_interval: DurationTrait Implementations§
Source§impl Clone for ValkeyRecoveryConfig
impl Clone for ValkeyRecoveryConfig
Source§fn clone(&self) -> ValkeyRecoveryConfig
fn clone(&self) -> ValkeyRecoveryConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ValkeyRecoveryConfig
Source§impl Debug for ValkeyRecoveryConfig
impl Debug for ValkeyRecoveryConfig
Source§impl Default for ValkeyRecoveryConfig
impl Default for ValkeyRecoveryConfig
impl Eq for ValkeyRecoveryConfig
Source§impl PartialEq for ValkeyRecoveryConfig
impl PartialEq for ValkeyRecoveryConfig
Source§fn eq(&self, other: &ValkeyRecoveryConfig) -> bool
fn eq(&self, other: &ValkeyRecoveryConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ValkeyRecoveryConfig
Auto Trait Implementations§
impl Freeze for ValkeyRecoveryConfig
impl RefUnwindSafe for ValkeyRecoveryConfig
impl Send for ValkeyRecoveryConfig
impl Sync for ValkeyRecoveryConfig
impl Unpin for ValkeyRecoveryConfig
impl UnsafeUnpin for ValkeyRecoveryConfig
impl UnwindSafe for ValkeyRecoveryConfig
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