pub struct RetrySettings {
pub max_attempts: usize,
pub initial_delay: Duration,
pub multiplier: f64,
pub max_delay: Duration,
pub request_timeout: Duration,
}Fields§
§max_attempts: usize§initial_delay: Duration§multiplier: f64§max_delay: Duration§request_timeout: DurationTrait Implementations§
Source§impl Clone for RetrySettings
impl Clone for RetrySettings
Source§fn clone(&self) -> RetrySettings
fn clone(&self) -> RetrySettings
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 RetrySettings
impl Debug for RetrySettings
Auto Trait Implementations§
impl Freeze for RetrySettings
impl RefUnwindSafe for RetrySettings
impl Send for RetrySettings
impl Sync for RetrySettings
impl Unpin for RetrySettings
impl UnwindSafe for RetrySettings
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