Struct MapRequestLayer

struct MapRequestLayer<F, S, T> { ... }

A tower::Layer from an async function that transforms a request.

Created with map_request. See that function for more details.

Implementations

impl<F, S, T> Clone for MapRequestLayer<F, S, T>

fn clone(self: &Self) -> Self

impl<F, S, T> Debug for MapRequestLayer<F, S, T>

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

impl<F, S, T> Freeze for MapRequestLayer<F, S, T>

impl<F, S, T> RefUnwindSafe for MapRequestLayer<F, S, T>

impl<F, S, T> Send for MapRequestLayer<F, S, T>

impl<F, S, T> Sync for MapRequestLayer<F, S, T>

impl<F, S, T> Unpin for MapRequestLayer<F, S, T>

impl<F, S, T> UnsafeUnpin for MapRequestLayer<F, S, T>

impl<F, S, T> UnwindSafe for MapRequestLayer<F, S, T>

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

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

impl<T> Any for MapRequestLayer<F, S, T>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for MapRequestLayer<F, S, T>

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

impl<T> BorrowMut for MapRequestLayer<F, S, T>

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

impl<T> CloneToUninit for MapRequestLayer<F, S, T>

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

impl<T> From for MapRequestLayer<F, S, T>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> FromRef for MapRequestLayer<F, S, T>

fn from_ref(input: &T) -> T

impl<T> Instrument for MapRequestLayer<F, S, T>

impl<T> Same for MapRequestLayer<F, S, T>

impl<T> ToOwned for MapRequestLayer<F, S, T>

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

impl<T> WithSubscriber for MapRequestLayer<F, S, T>

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

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, S, T>

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

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

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

impl<V, T> VZip for MapRequestLayer<F, S, T>

fn vzip(self: Self) -> V