Struct backoff_tower::Backoff
source · pub struct Backoff<R> { /* private fields */ }Expand description
Request wrapper to track the number of retries of the request
Trait Implementations§
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>,
source§impl<S, B, Req> Service<Backoff<Req>> for BackoffInnerService<S, B>where
S: Service<Req>,
B: BackoffStrategy,
impl<S, B, Req> Service<Backoff<Req>> for BackoffInnerService<S, B>where S: Service<Req>, B: BackoffStrategy,
Auto Trait Implementations§
impl<R> RefUnwindSafe for Backoff<R>where R: RefUnwindSafe,
impl<R> Send for Backoff<R>where R: Send,
impl<R> Sync for Backoff<R>where R: Sync,
impl<R> Unpin for Backoff<R>where R: Unpin,
impl<R> UnwindSafe for Backoff<R>where R: 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