Struct FromExtractorLayer

struct FromExtractorLayer<E, S> { ... }

Layer that applies FromExtractor that runs an extractor and discards the value.

See from_extractor for more details.

Implementations

impl<E, S> Clone for FromExtractorLayer<E, S>

fn clone(self: &Self) -> Self

impl<E, S> Debug for FromExtractorLayer<E, S>

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

impl<E, S> Freeze for FromExtractorLayer<E, S>

impl<E, S> RefUnwindSafe for FromExtractorLayer<E, S>

impl<E, S> Send for FromExtractorLayer<E, S>

impl<E, S> Sync for FromExtractorLayer<E, S>

impl<E, S> Unpin for FromExtractorLayer<E, S>

impl<E, S> UnsafeUnpin for FromExtractorLayer<E, S>

impl<E, S> UnwindSafe for FromExtractorLayer<E, S>

impl<E, T, S> Layer for FromExtractorLayer<E, S>

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

impl<T> Any for FromExtractorLayer<E, S>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for FromExtractorLayer<E, S>

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

impl<T> BorrowMut for FromExtractorLayer<E, S>

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

impl<T> CloneToUninit for FromExtractorLayer<E, S>

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

impl<T> From for FromExtractorLayer<E, S>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> FromRef for FromExtractorLayer<E, S>

fn from_ref(input: &T) -> T

impl<T> Instrument for FromExtractorLayer<E, S>

impl<T> Same for FromExtractorLayer<E, S>

impl<T> ToOwned for FromExtractorLayer<E, S>

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

impl<T> WithSubscriber for FromExtractorLayer<E, S>

impl<T, U> Into for FromExtractorLayer<E, 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 FromExtractorLayer<E, S>

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

impl<T, U> TryInto for FromExtractorLayer<E, S>

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

impl<V, T> VZip for FromExtractorLayer<E, S>

fn vzip(self: Self) -> V