Struct tower::util::MapFutureLayer
source · pub struct MapFutureLayer<F> { /* private fields */ }
Implementations§
source§impl<F> MapFutureLayer<F>
impl<F> MapFutureLayer<F>
sourcepub fn new(f: F) -> Self
pub fn new(f: F) -> Self
Creates a new MapFutureLayer
layer.
Trait Implementations§
source§impl<F: Clone> Clone for MapFutureLayer<F>
impl<F: Clone> Clone for MapFutureLayer<F>
source§fn clone(&self) -> MapFutureLayer<F>
fn clone(&self) -> MapFutureLayer<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