Struct tower::util::MapRequestLayer [−][src]
pub struct MapRequestLayer<F> { /* fields omitted */ }
This is supported on crate feature
util
only.A Layer
that produces MapRequest
services.
Implementations
impl<F> MapRequestLayer<F>
[src]
impl<F> MapRequestLayer<F>
[src]pub fn new(f: F) -> Self
[src]
Creates a new MapRequestLayer
.
Trait Implementations
impl<F: Clone> Clone for MapRequestLayer<F>
[src]
impl<F: Clone> Clone for MapRequestLayer<F>
[src]fn clone(&self) -> MapRequestLayer<F>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<S, F> Layer<S> for MapRequestLayer<F> where
F: Clone,
[src]
impl<S, F> Layer<S> for MapRequestLayer<F> where
F: Clone,
[src]Auto Trait Implementations
impl<F> RefUnwindSafe for MapRequestLayer<F> where
F: RefUnwindSafe,
impl<F> RefUnwindSafe for MapRequestLayer<F> where
F: RefUnwindSafe,
impl<F> Send for MapRequestLayer<F> where
F: Send,
impl<F> Send for MapRequestLayer<F> where
F: Send,
impl<F> Sync for MapRequestLayer<F> where
F: Sync,
impl<F> Sync for MapRequestLayer<F> where
F: Sync,
impl<F> Unpin for MapRequestLayer<F> where
F: Unpin,
impl<F> Unpin for MapRequestLayer<F> where
F: Unpin,
impl<F> UnwindSafe for MapRequestLayer<F> where
F: UnwindSafe,
impl<F> UnwindSafe for MapRequestLayer<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>,