Struct tower::util::MapErrLayer
source · [−]pub struct MapErrLayer<F> { /* private fields */ }
Implementations
sourceimpl<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
sourceimpl<F: Clone> Clone for MapErrLayer<F>
impl<F: Clone> Clone for MapErrLayer<F>
sourcefn clone(&self) -> MapErrLayer<F>
fn clone(&self) -> MapErrLayer<F>
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<F: Debug> Debug for MapErrLayer<F>
impl<F: Debug> Debug for MapErrLayer<F>
Auto Trait Implementations
impl<F> RefUnwindSafe for MapErrLayer<F>where
F: RefUnwindSafe,
impl<F> Send for MapErrLayer<F>where
F: Send,
impl<F> Sync for MapErrLayer<F>where
F: Sync,
impl<F> Unpin for MapErrLayer<F>where
F: Unpin,
impl<F> UnwindSafe for MapErrLayer<F>where
F: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more