pub struct DefaultRetryPolicy(/* private fields */);
Expand description
Default retry policy
This policy retries on any error. By default retry count is 3
Implementations§
Trait Implementations§
Source§impl Clone for DefaultRetryPolicy
impl Clone for DefaultRetryPolicy
Source§fn clone(&self) -> DefaultRetryPolicy
fn clone(&self) -> DefaultRetryPolicy
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 DefaultRetryPolicy
impl Debug for DefaultRetryPolicy
Source§impl Default for DefaultRetryPolicy
impl Default for DefaultRetryPolicy
Source§impl<R, S> Policy<R, S> for DefaultRetryPolicy
impl<R, S> Policy<R, S> for DefaultRetryPolicy
impl Copy for DefaultRetryPolicy
Auto Trait Implementations§
impl Freeze for DefaultRetryPolicy
impl RefUnwindSafe for DefaultRetryPolicy
impl Send for DefaultRetryPolicy
impl Sync for DefaultRetryPolicy
impl Unpin for DefaultRetryPolicy
impl UnwindSafe for DefaultRetryPolicy
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