Struct tower::util::MapResponseLayer [−][src]
pub struct MapResponseLayer<F> { /* fields omitted */ }
This is supported on crate feature
util
only.A Layer
that produces a MapResponse
service.
Implementations
impl<F> MapResponseLayer<F>
[src]
impl<F> MapResponseLayer<F>
[src]pub fn new(f: F) -> Self
[src]
Creates a new MapResponseLayer
layer.
Trait Implementations
impl<F: Clone> Clone for MapResponseLayer<F>
[src]
impl<F: Clone> Clone for MapResponseLayer<F>
[src]fn clone(&self) -> MapResponseLayer<F>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<F: Debug> Debug for MapResponseLayer<F>
[src]
impl<F: Debug> Debug for MapResponseLayer<F>
[src]impl<S, F> Layer<S> for MapResponseLayer<F> where
F: Clone,
[src]
impl<S, F> Layer<S> for MapResponseLayer<F> where
F: Clone,
[src]Auto Trait Implementations
impl<F> RefUnwindSafe for MapResponseLayer<F> where
F: RefUnwindSafe,
impl<F> RefUnwindSafe for MapResponseLayer<F> where
F: RefUnwindSafe,
impl<F> Send for MapResponseLayer<F> where
F: Send,
impl<F> Send for MapResponseLayer<F> where
F: Send,
impl<F> Sync for MapResponseLayer<F> where
F: Sync,
impl<F> Sync for MapResponseLayer<F> where
F: Sync,
impl<F> Unpin for MapResponseLayer<F> where
F: Unpin,
impl<F> Unpin for MapResponseLayer<F> where
F: Unpin,
impl<F> UnwindSafe for MapResponseLayer<F> where
F: UnwindSafe,
impl<F> UnwindSafe for MapResponseLayer<F> where
F: UnwindSafe,
Blanket Implementations
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,