Struct ResponseFuture

pub struct ResponseFuture<S, C> { /* private fields */ }

Response future for IntoMakeServiceWithConnectInfo.

Trait Implementations

impl<'__pin, S, C> Unpin for ResponseFuture<S, C> where PinnedFieldsOf<__Origin<'__pin, S, C>>: Unpin,

impl<S, C> Debug for ResponseFuture<S, C>

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

impl<S, C> Future for ResponseFuture<S, C> where Ready<Result<AddExtension<S, ConnectInfo<C>>, Infallible>>: Future,

type Output = <Ready<Result<AddExtension<S, ConnectInfo<C>>, never>> as Future>::Output;
fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Self::Output>

Auto Trait Implementations

impl<S, C> Freeze for ResponseFuture<S, C> where Ready<Result<AddExtension<S, ConnectInfo<C>>, never>>: Freeze,

impl<S, C> RefUnwindSafe for ResponseFuture<S, C> where Ready<Result<AddExtension<S, ConnectInfo<C>>, never>>: RefUnwindSafe,

impl<S, C> Send for ResponseFuture<S, C> where Ready<Result<AddExtension<S, ConnectInfo<C>>, never>>: Send,

impl<S, C> Sync for ResponseFuture<S, C> where Ready<Result<AddExtension<S, ConnectInfo<C>>, never>>: Sync,

impl<S, C> UnsafeUnpin for ResponseFuture<S, C> where Ready<Result<AddExtension<S, ConnectInfo<C>>, never>>: UnsafeUnpin,

impl<S, C> UnwindSafe for ResponseFuture<S, C> where Ready<Result<AddExtension<S, ConnectInfo<C>>, never>>: UnwindSafe,

Blanket Implementations

impl<F> IntoFuture for ResponseFuture<S, C> where F: Future,

type Output = <F as Future>::Output;
type IntoFuture = F;
fn into_future(self) -> <F as IntoFuture>::IntoFuture

impl<F, T, E> TryFuture for ResponseFuture<S, C> where F: Future<Output = Result<T, E>> + ?Sized,

type Ok = T;
type Error = E;
fn try_poll(self: Pin<&mut F>, cx: &mut Context<'_>) -> Poll<<F as Future>::Output>

impl<Fut> TryFutureExt for ResponseFuture<S, C> where Fut: TryFuture + ?Sized,

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for ResponseFuture<S, C> where ST: ?Sized, DT: ?Sized,

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for ResponseFuture<S, C> where ST: ?Sized, DT: ?Sized,

impl<T> Any for ResponseFuture<S, C> where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for ResponseFuture<S, C> where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for ResponseFuture<S, C> where T: ?Sized,

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

impl<T> From<T> for ResponseFuture<S, C>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> FutureExt for ResponseFuture<S, C> where T: Future + ?Sized,

impl<T> FutureExt for ResponseFuture<S, C> where T: Future + ?Sized,

impl<T> Instrument for ResponseFuture<S, C>

impl<T> Read<Exclusive, BecauseExclusive> for ResponseFuture<S, C> where T: ?Sized,

impl<T> Same for ResponseFuture<S, C>

type Output = T;

impl<T> WithSubscriber for ResponseFuture<S, C>

impl<T, U> Into<U> for ResponseFuture<S, C> where U: From<T>,

fn into(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<U> for ResponseFuture<S, C> where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

impl<T, U> TryInto<U> for ResponseFuture<S, C> where U: TryFrom<T>,

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

impl<V, T> VZip<V> for ResponseFuture<S, C> where V: MultiLane<T>,

fn vzip(self) -> V