Struct IntoService

struct IntoService<M, Request> { ... }

Service returned by MakeService::into_service.

See the documentation on into_service for details.

Implementations

impl<M, Request> Clone for IntoService<M, Request>

fn clone(self: &Self) -> Self

impl<M, Request> Debug for IntoService<M, Request>

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

impl<M, Request> Freeze for IntoService<M, Request>

impl<M, Request> RefUnwindSafe for IntoService<M, Request>

impl<M, Request> Send for IntoService<M, Request>

impl<M, Request> Sync for IntoService<M, Request>

impl<M, Request> Unpin for IntoService<M, Request>

impl<M, Request> UnsafeUnpin for IntoService<M, Request>

impl<M, Request> UnwindSafe for IntoService<M, Request>

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

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<M, S, Target, Request> Service for IntoService<M, Request>

fn poll_ready(self: &mut Self, cx: &mut Context<'_>) -> Poll<Result<(), <Self as >::Error>>
fn call(self: &mut Self, target: Target) -> <Self as >::Future

impl<T> Any for IntoService<M, Request>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for IntoService<M, Request>

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

impl<T> BorrowMut for IntoService<M, Request>

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

impl<T> CloneToUninit for IntoService<M, Request>

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

impl<T> From for IntoService<M, Request>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> Instrument for IntoService<M, Request>

impl<T> ToOwned for IntoService<M, Request>

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

impl<T> WithSubscriber for IntoService<M, Request>

impl<T, Request> ServiceExt for IntoService<M, Request>

impl<T, U> Into for IntoService<M, Request>

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 IntoService<M, Request>

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

impl<T, U> TryInto for IntoService<M, Request>

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