Struct IntoMakeService

struct IntoMakeService<S> { ... }

A MakeService that produces axum router services.

Implementations

impl<M, S, Target, Request> MakeService for IntoMakeService<S>

fn poll_ready(self: &mut Self, cx: &mut Context<'_>) -> Poll<Result<(), <M as MakeService<Target, Request>>::MakeError>>
fn make_service(self: &mut Self, target: Target) -> <M as MakeService<Target, Request>>::Future

impl<S> Freeze for IntoMakeService<S>

impl<S> RefUnwindSafe for IntoMakeService<S>

impl<S> Send for IntoMakeService<S>

impl<S> Sync for IntoMakeService<S>

impl<S> Unpin for IntoMakeService<S>

impl<S> UnsafeUnpin for IntoMakeService<S>

impl<S> UnwindSafe for IntoMakeService<S>

impl<S, R> ServiceExt for IntoMakeService<S>

fn into_make_service(self: Self) -> IntoMakeService<S>
fn into_make_service_with_connect_info<C>(self: Self) -> IntoMakeServiceWithConnectInfo<S, C>

impl<S, T> Service for IntoMakeService<S>

fn poll_ready(self: &mut Self, _cx: &mut Context<'_>) -> Poll<Result<(), <Self as >::Error>>
fn call(self: &mut Self, _target: T) -> <Self as >::Future

impl<S: $crate::clone::Clone> Clone for IntoMakeService<S>

fn clone(self: &Self) -> IntoMakeService<S>

impl<S: $crate::fmt::Debug> Debug for IntoMakeService<S>

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

impl<T> Any for IntoMakeService<S>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for IntoMakeService<S>

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for IntoMakeService<S>

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

impl<T> CloneToUninit for IntoMakeService<S>

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> From for IntoMakeService<S>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> FromRef for IntoMakeService<S>

fn from_ref(input: &T) -> T

impl<T> Instrument for IntoMakeService<S>

impl<T> Same for IntoMakeService<S>

impl<T> ToOwned for IntoMakeService<S>

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T> WithSubscriber for IntoMakeService<S>

impl<T, Request> ServiceExt for IntoMakeService<S>

impl<T, U> Into for IntoMakeService<S>

fn into(self: 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 for IntoMakeService<S>

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

impl<T, U> TryInto for IntoMakeService<S>

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

impl<V, T> VZip for IntoMakeService<S>

fn vzip(self: Self) -> V