Struct FromExtractorResponseFuture
pub struct FromExtractorResponseFuture<B, T, E, S>
where
E: FromRequestParts<S>,
T: Service<Request<B>>, { /* private fields */ }
Response future for FromExtractor.
Trait Implementations
impl<'__pin, B, T, E, S> Unpin for ResponseFuture<B, T, E, S>
where
PinnedFieldsOf<__Origin<'__pin, B, T, E, S>>: Unpin,
E: FromRequestParts<S>,
T: Service<Request<B>>,
impl<B, T, E, S> Future for ResponseFuture<B, T, E, S>
where
E: FromRequestParts<S>,
T: Service<Request<B>>,
T::Response: IntoResponse,
type Output = Result<Response<Body>, <T as Service<Request<B>>>::Error>;fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Self::Output>
Auto Trait Implementations
impl<B, T, E, S> !RefUnwindSafe for ResponseFuture<B, T, E, S>
impl<B, T, E, S> !Sync for ResponseFuture<B, T, E, S>
impl<B, T, E, S> !UnwindSafe for ResponseFuture<B, T, E, S>
impl<B, T, E, S> Freeze for ResponseFuture<B, T, E, S>
where
State<B, T, E, S>: Freeze,
Option<T>: Freeze,
impl<B, T, E, S> Send for ResponseFuture<B, T, E, S>
where
State<B, T, E, S>: Send,
Option<T>: Send,
impl<B, T, E, S> UnsafeUnpin for ResponseFuture<B, T, E, S>
where
State<B, T, E, S>: UnsafeUnpin,
Option<T>: UnsafeUnpin,
Blanket Implementations
impl<F> IntoFuture for ResponseFuture<B, T, E, S>
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<B, T, E, S>
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<B, T, E, S>
where
Fut: TryFuture + ?Sized,
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for ResponseFuture<B, T, E, S>
where
ST: ?Sized,
DT: ?Sized,
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for ResponseFuture<B, T, E, S>
where
ST: ?Sized,
DT: ?Sized,
impl<T> Any for ResponseFuture<B, T, E, S>
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for ResponseFuture<B, T, E, S>
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for ResponseFuture<B, T, E, S>
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> From<T> for ResponseFuture<B, T, E, S>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> FutureExt for ResponseFuture<B, T, E, S>
where
T: Future + ?Sized,
impl<T> FutureExt for ResponseFuture<B, T, E, S>
where
T: Future + ?Sized,
impl<T> Instrument for ResponseFuture<B, T, E, S>
impl<T> Read<Exclusive, BecauseExclusive> for ResponseFuture<B, T, E, S>
where
T: ?Sized,
impl<T> Same for ResponseFuture<B, T, E, S>
type Output = T;
impl<T> WithSubscriber for ResponseFuture<B, T, E, S>
impl<T, U> Into<U> for ResponseFuture<B, T, E, S>
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for ResponseFuture<B, T, E, S>
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for ResponseFuture<B, T, E, S>
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<B, T, E, S>
where
V: MultiLane<T>,
fn vzip(self) -> V