Struct FromExtractorLayer
#[must_use]
pub struct FromExtractorLayer<E, S> { /* private fields */ }
Layer that applies FromExtractor that runs an extractor and
discards the value.
See from_extractor for more details.
Trait Implementations
impl<E, S> Clone for FromExtractorLayer<E, S>
where
S: Clone,
fn clone(&self) -> Self
impl<E, S> Debug for FromExtractorLayer<E, S>
where
S: Debug,
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<E, T, S> Layer<T> for FromExtractorLayer<E, S>
where
S: Clone,
type Service = FromExtractor<T, E, S>;fn layer(&self, inner: T) -> Self::Service
Auto Trait Implementations
impl<E, S> Freeze for FromExtractorLayer<E, S>
where
S: Freeze,
PhantomData<fn() -> E>: Freeze,
impl<E, S> RefUnwindSafe for FromExtractorLayer<E, S>
where
S: RefUnwindSafe,
PhantomData<fn() -> E>: RefUnwindSafe,
impl<E, S> Send for FromExtractorLayer<E, S>
where
S: Send,
PhantomData<fn() -> E>: Send,
impl<E, S> Sync for FromExtractorLayer<E, S>
where
S: Sync,
PhantomData<fn() -> E>: Sync,
impl<E, S> Unpin for FromExtractorLayer<E, S>
where
S: Unpin,
PhantomData<fn() -> E>: Unpin,
impl<E, S> UnsafeUnpin for FromExtractorLayer<E, S>
where
S: UnsafeUnpin,
PhantomData<fn() -> E>: UnsafeUnpin,
impl<E, S> UnwindSafe for FromExtractorLayer<E, S>
where
S: UnwindSafe,
PhantomData<fn() -> E>: UnwindSafe,
Blanket Implementations
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for FromExtractorLayer<E, S>
where
ST: ?Sized,
DT: ?Sized,
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for FromExtractorLayer<E, S>
where
ST: ?Sized,
DT: ?Sized,
impl<T> Any for FromExtractorLayer<E, S>
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for FromExtractorLayer<E, S>
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for FromExtractorLayer<E, S>
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for FromExtractorLayer<E, S>
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for FromExtractorLayer<E, S>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> FromRef<T> for FromExtractorLayer<E, S>
where
T: Clone,
fn from_ref(input: &T) -> T
impl<T> Instrument for FromExtractorLayer<E, S>
impl<T> Read<Exclusive, BecauseExclusive> for FromExtractorLayer<E, S>
where
T: ?Sized,
impl<T> Same for FromExtractorLayer<E, S>
type Output = T;
impl<T> ToOwned for FromExtractorLayer<E, S>
where
T: Clone,
type Owned = T;fn to_owned(&self) -> Tfn clone_into(&self, target: &mut T)
impl<T> WithSubscriber for FromExtractorLayer<E, S>
impl<T, U> Into<U> for FromExtractorLayer<E, S>
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for FromExtractorLayer<E, S>
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for FromExtractorLayer<E, S>
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
impl<V, T> VZip<V> for FromExtractorLayer<E, S>
where
V: MultiLane<T>,
fn vzip(self) -> V