Struct backoff_tower::BackoffPolicy
source · pub struct BackoffPolicy<P> { /* private fields */ }Expand description
A policy for the Retry service to
Trait Implementations§
source§impl<P: Clone> Clone for BackoffPolicy<P>
impl<P: Clone> Clone for BackoffPolicy<P>
source§fn clone(&self) -> BackoffPolicy<P>
fn clone(&self) -> BackoffPolicy<P>
Returns a copy 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<P: Debug> Debug for BackoffPolicy<P>
impl<P: Debug> Debug for BackoffPolicy<P>
source§impl<P, Req, Res, Err> Policy<Backoff<Req>, Res, Err> for BackoffPolicy<P>where
P: Policy<Req, Res, Err>,
impl<P, Req, Res, Err> Policy<Backoff<Req>, Res, Err> for BackoffPolicy<P>where P: Policy<Req, Res, Err>,
Auto Trait Implementations§
impl<P> RefUnwindSafe for BackoffPolicy<P>where P: RefUnwindSafe,
impl<P> Send for BackoffPolicy<P>where P: Send,
impl<P> Sync for BackoffPolicy<P>where P: Sync,
impl<P> Unpin for BackoffPolicy<P>where P: Unpin,
impl<P> UnwindSafe for BackoffPolicy<P>where P: UnwindSafe,
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