pub struct RetryParams {
pub base_delay: Duration,
pub max_delay: Duration,
pub max_attempts: usize,
}
Fields§
§base_delay: Duration
§max_delay: Duration
§max_attempts: usize
Trait Implementations§
Source§impl Clone for RetryParams
impl Clone for RetryParams
Source§fn clone(&self) -> RetryParams
fn clone(&self) -> RetryParams
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 RetryParams
impl RefUnwindSafe for RetryParams
impl Send for RetryParams
impl Sync for RetryParams
impl Unpin for RetryParams
impl UnwindSafe for RetryParams
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