Struct tower::util::MapRequestLayer
source · pub struct MapRequestLayer<F> { /* private fields */ }
Expand description
A Layer
that produces MapRequest
services.
Implementations§
source§impl<F> MapRequestLayer<F>
impl<F> MapRequestLayer<F>
sourcepub fn new(f: F) -> Self
pub fn new(f: F) -> Self
Creates a new MapRequestLayer
.
Trait Implementations§
source§impl<F: Clone> Clone for MapRequestLayer<F>
impl<F: Clone> Clone for MapRequestLayer<F>
source§fn clone(&self) -> MapRequestLayer<F>
fn clone(&self) -> MapRequestLayer<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