Struct InfallibleRouteFuture

pub struct InfallibleRouteFuture { /* private fields */ }

A RouteFuture that always yields a Response.

Trait Implementations

impl Future for InfallibleRouteFuture

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

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

Auto Trait Implementations

impl !Freeze for InfallibleRouteFuture

impl !RefUnwindSafe for InfallibleRouteFuture

impl !Sync for InfallibleRouteFuture

impl !UnwindSafe for InfallibleRouteFuture

impl Send for InfallibleRouteFuture

impl UnsafeUnpin for InfallibleRouteFuture

Blanket Implementations

impl<F> IntoFuture for InfallibleRouteFuture where F: Future,

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

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

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

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

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for InfallibleRouteFuture where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for InfallibleRouteFuture where T: ?Sized,

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

impl<T> From<T> for InfallibleRouteFuture

fn from(t: T) -> T

Returns the argument unchanged.

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

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

impl<T> Instrument for InfallibleRouteFuture

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

impl<T> Same for InfallibleRouteFuture

type Output = T;

impl<T> WithSubscriber for InfallibleRouteFuture

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

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

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

fn vzip(self) -> V