Struct axum::extract::extractor_middleware::ExtractorMiddlewareLayer
source · [−]pub struct ExtractorMiddlewareLayer<E>(_);
Expand description
Layer
that applies FromExtractor
that runs an extractor and
discards the value.
See from_extractor
for more details.
Trait Implementations
sourceimpl<E> Clone for FromExtractorLayer<E>
impl<E> Clone for FromExtractorLayer<E>
sourceimpl<E> Debug for FromExtractorLayer<E>
impl<E> Debug for FromExtractorLayer<E>
sourceimpl<E, S> Layer<S> for FromExtractorLayer<E>
impl<E, S> Layer<S> for FromExtractorLayer<E>
Auto Trait Implementations
impl<E> RefUnwindSafe for FromExtractorLayer<E>
impl<E> Send for FromExtractorLayer<E>
impl<E> Sync for FromExtractorLayer<E>
impl<E> Unpin for FromExtractorLayer<E>
impl<E> UnwindSafe for FromExtractorLayer<E>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more