pub struct BackoffConfig {
pub min_delay: u64,
pub max_delay: u64,
pub strategy: BackoffStrategy,
}
Fields§
§min_delay: u64
The minimum amount of time to wait before trying again.
max_delay: u64
The maximum amount of time to wait before trying again.
strategy: BackoffStrategy
How to progress from min_delay to max_delay.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BackoffConfig
impl RefUnwindSafe for BackoffConfig
impl Send for BackoffConfig
impl Sync for BackoffConfig
impl Unpin for BackoffConfig
impl UnwindSafe for BackoffConfig
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