pub struct Retry<P, S> { /* private fields */ }
Expand description
Configure retrying requests of “failed” responses.
A Policy
classifies what is a “failed” response.
Implementations§
Trait Implementations§
Source§impl<P, S, Request> Service<Request> for Retry<P, S>
impl<P, S, Request> Service<Request> for Retry<P, S>
impl<'pin, P, S> Unpin for Retry<P, S>where
__Retry<'pin, P, S>: Unpin,
impl<P, S> UnsafeUnpin for Retry<P, S>
Auto Trait Implementations§
impl<P, S> Freeze for Retry<P, S>
impl<P, S> RefUnwindSafe for Retry<P, S>where
P: RefUnwindSafe,
S: RefUnwindSafe,
impl<P, S> Send for Retry<P, S>
impl<P, S> Sync for Retry<P, S>
impl<P, S> UnwindSafe for Retry<P, S>where
P: 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)