pub struct ResponseFuture<P, S, Request>{ /* private fields */ }
Expand description
The Future
returned by a Retry
service.
Trait Implementations§
Source§impl<P, S, Request: Debug> Debug for ResponseFuture<P, S, Request>
impl<P, S, Request: Debug> Debug for ResponseFuture<P, S, Request>
Source§impl<P, S, Request> Future for ResponseFuture<P, S, Request>
impl<P, S, Request> Future for ResponseFuture<P, S, Request>
impl<'pin, P, S, Request> Unpin for ResponseFuture<P, S, Request>
impl<P, S, Request> UnsafeUnpin for ResponseFuture<P, S, Request>
Auto Trait Implementations§
impl<P, S, Request> Freeze for ResponseFuture<P, S, Request>
impl<P, S, Request> RefUnwindSafe for ResponseFuture<P, S, Request>where
Request: RefUnwindSafe,
P: RefUnwindSafe,
S: RefUnwindSafe,
<S as Service<Request>>::Future: RefUnwindSafe,
<P as Policy<Request, <S as Service<Request>>::Response, <S as Service<Request>>::Error>>::Future: RefUnwindSafe,
impl<P, S, Request> Send for ResponseFuture<P, S, Request>
impl<P, S, Request> Sync for ResponseFuture<P, S, Request>
impl<P, S, Request> UnwindSafe for ResponseFuture<P, S, Request>where
Request: UnwindSafe,
P: UnwindSafe,
S: UnwindSafe,
<S as Service<Request>>::Future: UnwindSafe,
<P as Policy<Request, <S as Service<Request>>::Response, <S as Service<Request>>::Error>>::Future: 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<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere
F: Future,
Source§type IntoFuture = F
type IntoFuture = F
Which kind of future are we turning this into?
Source§fn into_future(self) -> <F as IntoFuture>::IntoFuture
fn into_future(self) -> <F as IntoFuture>::IntoFuture
Creates a future from a value. Read more