pub enum BackoffStrategyType {
ExponentialBackoff,
LinearBackoff,
FixedDelay,
}Expand description
Backoff strategy types for error handling
Variants§
ExponentialBackoff
Exponential backoff strategy for error handling
LinearBackoff
Linear backoff strategy for error handling
FixedDelay
Fixed delay strategy for error handling
Trait Implementations§
Source§impl Clone for BackoffStrategyType
impl Clone for BackoffStrategyType
Source§fn clone(&self) -> BackoffStrategyType
fn clone(&self) -> BackoffStrategyType
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 moreSource§impl Debug for BackoffStrategyType
impl Debug for BackoffStrategyType
Source§impl PartialEq for BackoffStrategyType
impl PartialEq for BackoffStrategyType
impl Copy for BackoffStrategyType
impl Eq for BackoffStrategyType
impl StructuralPartialEq for BackoffStrategyType
Auto Trait Implementations§
impl Freeze for BackoffStrategyType
impl RefUnwindSafe for BackoffStrategyType
impl Send for BackoffStrategyType
impl Sync for BackoffStrategyType
impl Unpin for BackoffStrategyType
impl UnwindSafe for BackoffStrategyType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.