Struct MapRequestLayer

struct MapRequestLayer<F> { ... }

A Layer that produces MapRequest services.

Implementations

impl<F> MapRequestLayer<F>

const fn new(f: F) -> Self

Creates a new MapRequestLayer.

impl<F> Freeze for MapRequestLayer<F>

impl<F> RefUnwindSafe for MapRequestLayer<F>

impl<F> Send for MapRequestLayer<F>

impl<F> Sync for MapRequestLayer<F>

impl<F> Unpin for MapRequestLayer<F>

impl<F> UnsafeUnpin for MapRequestLayer<F>

impl<F> UnwindSafe for MapRequestLayer<F>

impl<F: $crate::clone::Clone> Clone for MapRequestLayer<F>

fn clone(self: &Self) -> MapRequestLayer<F>

impl<F: $crate::fmt::Debug> Debug for MapRequestLayer<F>

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

impl<S, F> Layer for MapRequestLayer<F>

fn layer(self: &Self, inner: S) -> <Self as >::Service

impl<T> Any for MapRequestLayer<F>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for MapRequestLayer<F>

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

impl<T> BorrowMut for MapRequestLayer<F>

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

impl<T> CloneToUninit for MapRequestLayer<F>

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

impl<T> From for MapRequestLayer<F>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> Instrument for MapRequestLayer<F>

impl<T> ToOwned for MapRequestLayer<F>

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

impl<T> WithSubscriber for MapRequestLayer<F>

impl<T, U> Into for MapRequestLayer<F>

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 MapRequestLayer<F>

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

impl<T, U> TryInto for MapRequestLayer<F>

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