pub struct RetryPolicy {
pub max_retries: usize,
pub initial_delay: Duration,
pub exponential_backoff: bool,
}Fields§
§max_retries: usize§initial_delay: Duration§exponential_backoff: boolImplementations§
Source§impl RetryPolicy
impl RetryPolicy
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RetryPolicy
impl RefUnwindSafe for RetryPolicy
impl Send for RetryPolicy
impl Sync for RetryPolicy
impl Unpin for RetryPolicy
impl UnwindSafe for RetryPolicy
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