pub struct PreprocessLayer<F> { /* private fields */ }Expand description
A layer that wraps a service with a preprocessor function.
Implementations§
Source§impl<F> PreprocessLayer<F>
impl<F> PreprocessLayer<F>
Trait Implementations§
Source§impl<F: Clone> Clone for PreprocessLayer<F>
impl<F: Clone> Clone for PreprocessLayer<F>
Source§fn clone(&self) -> PreprocessLayer<F>
fn clone(&self) -> PreprocessLayer<F>
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<F> Debug for PreprocessLayer<F>
impl<F> Debug for PreprocessLayer<F>
Auto Trait Implementations§
impl<F> Freeze for PreprocessLayer<F>where
F: Freeze,
impl<F> RefUnwindSafe for PreprocessLayer<F>where
F: RefUnwindSafe,
impl<F> Send for PreprocessLayer<F>where
F: Send,
impl<F> Sync for PreprocessLayer<F>where
F: Sync,
impl<F> Unpin for PreprocessLayer<F>where
F: Unpin,
impl<F> UnwindSafe for PreprocessLayer<F>where
F: 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§impl<R> FirstAddrExt for R
impl<R> FirstAddrExt for R
Source§fn first_addr(self) -> FirstAddrResolver<Self>where
Self: Sized,
fn first_addr(self) -> FirstAddrResolver<Self>where
Self: Sized,
Available on crate feature
client only.Convert this resolver into a
FirstAddrResolver. Read more