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