Struct app_frame::backoff::BackoffConfig
source · pub struct BackoffConfig {
pub min_delay: u64,
pub max_delay: u64,
pub strategy: BackoffStrategy,
}Fields§
§min_delay: u64The minimum amount of time to wait before trying again.
max_delay: u64The maximum amount of time to wait before trying again.
strategy: BackoffStrategyHow to progress from min_delay to max_delay.
Implementations§
Trait Implementations§
Auto Trait Implementations§
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