pub struct Backoff {
pub initial_delay_secs: f32,
pub max_delay_secs: f32,
pub multiplier: f32,
}Fields§
§initial_delay_secs: f32§max_delay_secs: f32§multiplier: f32Implementations§
Trait Implementations§
Source§impl RetryBackoff for Backoff
impl RetryBackoff for Backoff
impl StructuralPartialEq for Backoff
Auto Trait Implementations§
impl Freeze for Backoff
impl RefUnwindSafe for Backoff
impl Send for Backoff
impl Sync for Backoff
impl Unpin for Backoff
impl UnwindSafe for Backoff
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