pub struct LinearBackoff { /* private fields */ }
Expand description
Linear backoff. The delay will scale linearly with the number of attempts.
Implementations§
Trait Implementations§
Source§impl<'a, E> BackoffStrategy<'a, E> for LinearBackoff
impl<'a, E> BackoffStrategy<'a, E> for LinearBackoff
Source§impl Clone for LinearBackoff
impl Clone for LinearBackoff
Source§fn clone(&self) -> LinearBackoff
fn clone(&self) -> LinearBackoff
Returns a copy 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 moreSource§impl Debug for LinearBackoff
impl Debug for LinearBackoff
impl Copy for LinearBackoff
Auto Trait Implementations§
impl Freeze for LinearBackoff
impl RefUnwindSafe for LinearBackoff
impl Send for LinearBackoff
impl Sync for LinearBackoff
impl Unpin for LinearBackoff
impl UnwindSafe for LinearBackoff
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