pub struct RetryOptions {
pub max_retries: u32,
pub initial_delay_ms: u64,
pub max_delay_ms: u64,
}Expand description
Consecutive failure budget, independent of each HTTP attempt’s deadline.
Fields§
§max_retries: u32§initial_delay_ms: u64§max_delay_ms: u64Trait Implementations§
Source§impl Clone for RetryOptions
impl Clone for RetryOptions
Source§impl Debug for RetryOptions
impl Debug for RetryOptions
Auto Trait Implementations§
impl Freeze for RetryOptions
impl RefUnwindSafe for RetryOptions
impl Send for RetryOptions
impl Sync for RetryOptions
impl Unpin for RetryOptions
impl UnsafeUnpin for RetryOptions
impl UnwindSafe for RetryOptions
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