Struct MapErrLayer
pub struct MapErrLayer<F> { /* private fields */ }
Implementations
impl<F> MapErrLayer<F>
const fn new(f: F) -> SelfCreates a new
MapErrLayer.
Trait Implementations
impl<F: Clone> Clone for MapErrLayer<F>
fn clone(&self) -> Self
impl<F: Debug> Debug for MapErrLayer<F>
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<S, F> Layer<S> for MapErrLayer<F>
where
F: Clone,
type Service = MapErr<S, F>;fn layer(&self, inner: S) -> Self::Service