pub struct DefaultRetryPolicy(/* private fields */);Expand description
A retry policy that retries every service error.
The default policy permits up to three retries after the initial call.
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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DefaultRetryPolicy
Source§impl Debug for DefaultRetryPolicy
impl Debug for DefaultRetryPolicy
Source§impl Default for DefaultRetryPolicy
impl Default for DefaultRetryPolicy
Source§impl<S, St, Req> Policy<S, St, Req> for DefaultRetryPolicy
impl<S, St, Req> Policy<S, St, Req> 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 UnsafeUnpin 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