pub struct MapResponseLayer<F, T, R1, R2> { /* private fields */ }Available on crate feature
server only.Expand description
A Layer for mapping a response
This layer is created with map_response, see that function for more details.
Trait Implementations§
Source§impl<F, T, R1, R2> Clone for MapResponseLayer<F, T, R1, R2>where
F: Clone,
impl<F, T, R1, R2> Clone for MapResponseLayer<F, T, R1, R2>where
F: Clone,
Source§impl<S, F, T, R1, R2> Layer<S> for MapResponseLayer<F, T, R1, R2>
impl<S, F, T, R1, R2> Layer<S> for MapResponseLayer<F, T, R1, R2>
Auto Trait Implementations§
impl<F, T, R1, R2> Freeze for MapResponseLayer<F, T, R1, R2>where
F: Freeze,
impl<F, T, R1, R2> RefUnwindSafe for MapResponseLayer<F, T, R1, R2>where
F: RefUnwindSafe,
impl<F, T, R1, R2> Send for MapResponseLayer<F, T, R1, R2>where
F: Send,
impl<F, T, R1, R2> Sync for MapResponseLayer<F, T, R1, R2>where
F: Sync,
impl<F, T, R1, R2> Unpin for MapResponseLayer<F, T, R1, R2>where
F: Unpin,
impl<F, T, R1, R2> UnwindSafe for MapResponseLayer<F, T, R1, R2>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