Struct tower::util::MapResponseLayer
source · pub struct MapResponseLayer<F> { /* private fields */ }
Expand description
A Layer
that produces a MapResponse
service.
Implementations§
source§impl<F> MapResponseLayer<F>
impl<F> MapResponseLayer<F>
sourcepub fn new(f: F) -> Self
pub fn new(f: F) -> Self
Creates a new MapResponseLayer
layer.
Trait Implementations§
source§impl<F: Clone> Clone for MapResponseLayer<F>
impl<F: Clone> Clone for MapResponseLayer<F>
source§fn clone(&self) -> MapResponseLayer<F>
fn clone(&self) -> MapResponseLayer<F>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more