Struct ResponseAxumBodyFuture

pub struct ResponseAxumBodyFuture<Fut> { /* private fields */ }

Response future for ResponseAxumBody.

Trait Implementations

impl<'__pin, Fut> Unpin for ResponseAxumBodyFuture<Fut> where PinnedFieldsOf<__Origin<'__pin, Fut>>: Unpin,

impl<Fut, ResBody, E> Future for ResponseAxumBodyFuture<Fut> where Fut: Future<Output = Result<Response<ResBody>, E>>, ResBody: HttpBody<Data = Bytes> + Send + 'static, <ResBody as HttpBody>::Error: Error + Send + Sync,

type Output = Result<Response<Body>, E>;
fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Self::Output>

Auto Trait Implementations

impl<Fut> Freeze for ResponseAxumBodyFuture<Fut> where Fut: Freeze,

impl<Fut> RefUnwindSafe for ResponseAxumBodyFuture<Fut> where Fut: RefUnwindSafe,

impl<Fut> Send for ResponseAxumBodyFuture<Fut> where Fut: Send,

impl<Fut> Sync for ResponseAxumBodyFuture<Fut> where Fut: Sync,

impl<Fut> UnsafeUnpin for ResponseAxumBodyFuture<Fut> where Fut: UnsafeUnpin,

impl<Fut> UnwindSafe for ResponseAxumBodyFuture<Fut> where Fut: UnwindSafe,

Blanket Implementations

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

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for ResponseAxumBodyFuture<Fut> where ST: ?Sized, DT: ?Sized,

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for ResponseAxumBodyFuture<Fut> where ST: ?Sized, DT: ?Sized,

impl<T> Any for ResponseAxumBodyFuture<Fut> where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for ResponseAxumBodyFuture<Fut> where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for ResponseAxumBodyFuture<Fut> where T: ?Sized,

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

impl<T> From<T> for ResponseAxumBodyFuture<Fut>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> FutureExt for ResponseAxumBodyFuture<Fut> where T: Future + ?Sized,

impl<T> FutureExt for ResponseAxumBodyFuture<Fut> where T: Future + ?Sized,

impl<T> Instrument for ResponseAxumBodyFuture<Fut>

impl<T> Read<Exclusive, BecauseExclusive> for ResponseAxumBodyFuture<Fut> where T: ?Sized,

impl<T> Same for ResponseAxumBodyFuture<Fut>

type Output = T;

impl<T> WithSubscriber for ResponseAxumBodyFuture<Fut>

impl<T, U> Into<U> for ResponseAxumBodyFuture<Fut> 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 ResponseAxumBodyFuture<Fut> where U: Into<T>,

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

impl<T, U> TryInto<U> for ResponseAxumBodyFuture<Fut> 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 ResponseAxumBodyFuture<Fut> where V: MultiLane<T>,

fn vzip(self) -> V