Struct backoff_tower::BackoffInnerService
source · pub struct BackoffInnerService<S, B> { /* private fields */ }Expand description
The inner service which performs the
Unwraps the request from the backoff wrapper & applies a backoff period to the future as necessary
Trait Implementations§
source§impl<S: Clone, B: Clone> Clone for BackoffInnerService<S, B>
impl<S: Clone, B: Clone> Clone for BackoffInnerService<S, B>
source§fn clone(&self) -> BackoffInnerService<S, B>
fn clone(&self) -> BackoffInnerService<S, B>
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<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<S, B> RefUnwindSafe for BackoffInnerService<S, B>where B: RefUnwindSafe, S: RefUnwindSafe,
impl<S, B> Send for BackoffInnerService<S, B>where B: Send, S: Send,
impl<S, B> Sync for BackoffInnerService<S, B>where B: Sync, S: Sync,
impl<S, B> Unpin for BackoffInnerService<S, B>where B: Unpin, S: Unpin,
impl<S, B> UnwindSafe for BackoffInnerService<S, B>where B: UnwindSafe, S: 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