Struct ResponseFuture

struct ResponseFuture<P, S, Request> { ... }
where
    P: Policy<Request, <S as >::Response, <S as >::Error>,
    S: Service<Request>

The Future returned by a Retry service.

Implementations

impl<'__pin, P, S, Request> Unpin for ResponseFuture<P, S, Request>

impl<F> IntoFuture for ResponseFuture<P, S, Request>

fn into_future(self: Self) -> <F as IntoFuture>::IntoFuture

impl<F, T, E> TryFuture for ResponseFuture<P, S, Request>

fn try_poll(self: Pin<&mut F>, cx: &mut Context<'_>) -> Poll<<F as Future>::Output>

impl<Fut> TryFutureExt for ResponseFuture<P, S, Request>

impl<P, S, Request> Freeze for ResponseFuture<P, S, Request>

impl<P, S, Request> Future for ResponseFuture<P, S, Request>

fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<<Self as >::Output>

impl<P, S, Request> RefUnwindSafe for ResponseFuture<P, S, Request>

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>

impl<P, S, Request: $crate::fmt::Debug> Debug for ResponseFuture<P, S, Request>

fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result

impl<T> Any for ResponseFuture<P, S, Request>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for ResponseFuture<P, S, Request>

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for ResponseFuture<P, S, Request>

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> From for ResponseFuture<P, S, Request>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> FutureExt for ResponseFuture<P, S, Request>

impl<T> Instrument for ResponseFuture<P, S, Request>

impl<T> WithSubscriber for ResponseFuture<P, S, Request>

impl<T, U> Into for ResponseFuture<P, S, Request>

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for ResponseFuture<P, S, Request>

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for ResponseFuture<P, S, Request>

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>