Struct IntoServiceFuture
pub struct IntoServiceFuture<F> { /* private fields */ }
The response future for IntoService.
Trait Implementations
impl<'__pin, F> Unpin for IntoServiceFuture<F>
where
PinnedFieldsOf<__Origin<'__pin, F>>: Unpin,
impl<F> Debug for IntoServiceFuture<F>
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<F> Future for IntoServiceFuture<F>
where
Map<F, fn(Response) -> Result<Response, Infallible>>: Future,
type Output = <Map<F, fn(Response<Body>) -> Result<Response<Body>, never>> as Future>::Output;fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Self::Output>
Auto Trait Implementations
impl<F> Freeze for IntoServiceFuture<F>
where
Map<F, fn(Response<Body>) -> Result<Response<Body>, never>>: Freeze,
impl<F> RefUnwindSafe for IntoServiceFuture<F>
where
Map<F, fn(Response<Body>) -> Result<Response<Body>, never>>: RefUnwindSafe,
impl<F> Send for IntoServiceFuture<F>
where
Map<F, fn(Response<Body>) -> Result<Response<Body>, never>>: Send,
impl<F> Sync for IntoServiceFuture<F>
where
Map<F, fn(Response<Body>) -> Result<Response<Body>, never>>: Sync,
impl<F> UnsafeUnpin for IntoServiceFuture<F>
where
Map<F, fn(Response<Body>) -> Result<Response<Body>, never>>: UnsafeUnpin,
impl<F> UnwindSafe for IntoServiceFuture<F>
where
Map<F, fn(Response<Body>) -> Result<Response<Body>, never>>: UnwindSafe,
Blanket Implementations
impl<F> IntoFuture for IntoServiceFuture<F>
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 IntoServiceFuture<F>
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 IntoServiceFuture<F>
where
Fut: TryFuture + ?Sized,
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for IntoServiceFuture<F>
where
ST: ?Sized,
DT: ?Sized,
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for IntoServiceFuture<F>
where
ST: ?Sized,
DT: ?Sized,
impl<T> Any for IntoServiceFuture<F>
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for IntoServiceFuture<F>
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for IntoServiceFuture<F>
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> From<T> for IntoServiceFuture<F>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> FutureExt for IntoServiceFuture<F>
where
T: Future + ?Sized,
impl<T> FutureExt for IntoServiceFuture<F>
where
T: Future + ?Sized,
impl<T> Instrument for IntoServiceFuture<F>
impl<T> Read<Exclusive, BecauseExclusive> for IntoServiceFuture<F>
where
T: ?Sized,
impl<T> Same for IntoServiceFuture<F>
type Output = T;
impl<T> WithSubscriber for IntoServiceFuture<F>
impl<T, U> Into<U> for IntoServiceFuture<F>
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 IntoServiceFuture<F>
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for IntoServiceFuture<F>
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 IntoServiceFuture<F>
where
V: MultiLane<T>,
fn vzip(self) -> V