Struct axum::middleware::FromExtractorLayer
source · pub struct FromExtractorLayer<E, S> { /* private fields */ }
Expand description
Layer
that applies FromExtractor
that runs an extractor and
discards the value.
See from_extractor
for more details.
Trait Implementations§
source§impl<E, S> Clone for FromExtractorLayer<E, S>where
S: Clone,
impl<E, S> Clone for FromExtractorLayer<E, S>where
S: Clone,
source§impl<E, S> Debug for FromExtractorLayer<E, S>where
S: Debug,
impl<E, S> Debug for FromExtractorLayer<E, S>where
S: Debug,
Auto Trait Implementations§
impl<E, S> Freeze for FromExtractorLayer<E, S>where
S: Freeze,
impl<E, S> RefUnwindSafe for FromExtractorLayer<E, S>where
S: RefUnwindSafe,
impl<E, S> Send for FromExtractorLayer<E, S>where
S: Send,
impl<E, S> Sync for FromExtractorLayer<E, S>where
S: Sync,
impl<E, S> Unpin for FromExtractorLayer<E, S>where
S: Unpin,
impl<E, S> UnwindSafe for FromExtractorLayer<E, S>where
S: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)