Struct MapResponseFuture

pub struct MapResponseFuture<F, N> { /* private fields */ }

Response future from MapResponse services.

Trait Implementations

impl<'__pin, F, N> Unpin for MapResponseFuture<F, N> where PinnedFieldsOf<__Origin<'__pin, F, N>>: Unpin,

impl<F, N> Debug for MapResponseFuture<F, N>

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

impl<F, N> Future for MapResponseFuture<F, N> where MapOk<F, N>: Future,

type Output = <MapOk<F, N> as Future>::Output;
fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Self::Output>

Auto Trait Implementations

impl<F, N> Freeze for MapResponseFuture<F, N> where MapOk<F, N>: Freeze,

impl<F, N> RefUnwindSafe for MapResponseFuture<F, N> where MapOk<F, N>: RefUnwindSafe,

impl<F, N> Send for MapResponseFuture<F, N> where MapOk<F, N>: Send,

impl<F, N> Sync for MapResponseFuture<F, N> where MapOk<F, N>: Sync,

impl<F, N> UnsafeUnpin for MapResponseFuture<F, N> where MapOk<F, N>: UnsafeUnpin,

impl<F, N> UnwindSafe for MapResponseFuture<F, N> where MapOk<F, N>: UnwindSafe,

Blanket Implementations

impl<F> IntoFuture for MapResponseFuture<F, N> 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 MapResponseFuture<F, N> 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 MapResponseFuture<F, N> where Fut: TryFuture + ?Sized,

impl<T> Any for MapResponseFuture<F, N> where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for MapResponseFuture<F, N> where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for MapResponseFuture<F, N> where T: ?Sized,

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

impl<T> From<T> for MapResponseFuture<F, N>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> FutureExt for MapResponseFuture<F, N> where T: Future + ?Sized,

impl<T> FutureExt for MapResponseFuture<F, N> where T: Future + ?Sized,

impl<T> Instrument for MapResponseFuture<F, N>

impl<T> WithSubscriber for MapResponseFuture<F, N>

impl<T, U> Into<U> for MapResponseFuture<F, N> 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 MapResponseFuture<F, N> where U: Into<T>,

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

impl<T, U> TryInto<U> for MapResponseFuture<F, N> where U: TryFrom<T>,

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