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§fn clone(&self) -> FromExtractorLayer<E, S>
fn clone(&self) -> FromExtractorLayer<E, S>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<E, S> Debug for FromExtractorLayer<E, S>where
S: Debug,
impl<E, S> Debug for FromExtractorLayer<E, S>where
S: Debug,
Source§impl<E, T, S> Layer<T> for FromExtractorLayer<E, S>where
S: Clone,
impl<E, T, S> Layer<T> for FromExtractorLayer<E, S>where
S: Clone,
Source§type Service = FromExtractor<T, E, S>
type Service = FromExtractor<T, E, S>
The wrapped service
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