pub enum RetryStrategy {
Fixed {
delay_ms: u64,
},
Exponential {
base_ms: u64,
max_ms: u64,
},
Linear {
base_ms: u64,
step_ms: u64,
},
None,
}Variants§
Trait Implementations§
Source§impl Clone for RetryStrategy
impl Clone for RetryStrategy
Auto Trait Implementations§
impl Freeze for RetryStrategy
impl RefUnwindSafe for RetryStrategy
impl Send for RetryStrategy
impl Sync for RetryStrategy
impl Unpin for RetryStrategy
impl UnsafeUnpin for RetryStrategy
impl UnwindSafe for RetryStrategy
Blanket Implementations§
impl<T> AddressLike for T
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