pub struct RetryConfig {
pub max_attempts: u32,
pub backoff: Duration,
}Expand description
Retry parameters for initial IPC bus connection.
Fields§
§max_attempts: u32Maximum connection attempts before giving up.
backoff: DurationBase backoff duration between attempts (multiplied by attempt number).
Auto Trait Implementations§
impl Freeze for RetryConfig
impl RefUnwindSafe for RetryConfig
impl Send for RetryConfig
impl Sync for RetryConfig
impl Unpin for RetryConfig
impl UnwindSafe for RetryConfig
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