pub struct FixedBackoff { /* private fields */ }
Expand description
Fixed backoff strategy
Uses the same delay for all retry attempts.
Implementations§
Trait Implementations§
Source§impl Backoff for FixedBackoff
impl Backoff for FixedBackoff
Source§impl Clone for FixedBackoff
impl Clone for FixedBackoff
Source§fn clone(&self) -> FixedBackoff
fn clone(&self) -> FixedBackoff
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for FixedBackoff
impl RefUnwindSafe for FixedBackoff
impl Send for FixedBackoff
impl Sync for FixedBackoff
impl Unpin for FixedBackoff
impl UnwindSafe for FixedBackoff
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