pub struct Config<T>where
T: IntoConnectionInfo,{
pub addrs: Vec<T>,
pub retry_count: u32,
pub retry_delay: Duration,
pub retry_jitter: u32,
pub drift_factor: f32,
}
Fields§
§addrs: Vec<T>
§retry_count: u32
§retry_delay: Duration
§retry_jitter: u32
§drift_factor: f32
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Config<T>
impl<T> RefUnwindSafe for Config<T>where
T: RefUnwindSafe,
impl<T> Send for Config<T>where
T: Send,
impl<T> Sync for Config<T>where
T: Sync,
impl<T> Unpin for Config<T>where
T: Unpin,
impl<T> UnwindSafe for Config<T>where
T: UnwindSafe,
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