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