pub struct RetryOptions {
pub max_retries: u32,
pub base_delay: Duration,
}
Fieldsยง
ยงmax_retries: u32
ยงbase_delay: Duration
Trait Implementationsยง
Sourceยงimpl Clone for RetryOptions
impl Clone for RetryOptions
Sourceยงfn clone(&self) -> RetryOptions
fn clone(&self) -> RetryOptions
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 RetryOptions
impl RefUnwindSafe for RetryOptions
impl Send for RetryOptions
impl Sync for RetryOptions
impl Unpin 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