pub struct BackoffService<P, S, B> { /* private fields */ }Expand description
A service for the retrying of a call with back offs.
This service adds the backoff wrapper to the request so that the inner service can choose an appropriate backoff period before reattempting its service call
Implementations§
Source§impl<P, S, B> BackoffService<P, S, B>
impl<P, S, B> BackoffService<P, S, B>
Trait Implementations§
Source§impl<P: Clone, S: Clone, B: Clone> Clone for BackoffService<P, S, B>
impl<P: Clone, S: Clone, B: Clone> Clone for BackoffService<P, S, B>
Source§fn clone(&self) -> BackoffService<P, S, B>
fn clone(&self) -> BackoffService<P, S, B>
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<P, S, B, Req> Service<Req> for BackoffService<P, S, B>
impl<P, S, B, Req> Service<Req> for BackoffService<P, S, B>
Auto Trait Implementations§
impl<P, S, B> Freeze for BackoffService<P, S, B>
impl<P, S, B> RefUnwindSafe for BackoffService<P, S, B>
impl<P, S, B> Send for BackoffService<P, S, B>
impl<P, S, B> Sync for BackoffService<P, S, B>
impl<P, S, B> Unpin for BackoffService<P, S, B>where
P: Unpin,
impl<P, S, B> UnwindSafe for BackoffService<P, S, B>
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