pub struct MapErrLayer<F> { /* private fields */ }
Implementations§
§impl<F> MapErrLayer<F>
impl<F> MapErrLayer<F>
pub fn new(f: F) -> MapErrLayer<F>
pub fn new(f: F) -> MapErrLayer<F>
Creates a new MapErrLayer
.
Trait Implementations§
§impl<F> Clone for MapErrLayer<F>where
F: Clone,
impl<F> Clone for MapErrLayer<F>where
F: Clone,
§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§impl<F> Debug for MapErrLayer<F>where
F: Debug,
impl<F> Debug for MapErrLayer<F>where
F: Debug,
Auto Trait Implementations§
impl<F> Freeze for MapErrLayer<F>where
F: Freeze,
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more