Struct MapErrLayer
struct MapErrLayer<F> { ... }
Implementations
impl<F> MapErrLayer<F>
const fn new(f: F) -> SelfCreates a new
MapErrLayer.
impl<F> Freeze for MapErrLayer<F>
impl<F> RefUnwindSafe for MapErrLayer<F>
impl<F> Send for MapErrLayer<F>
impl<F> Sync for MapErrLayer<F>
impl<F> Unpin for MapErrLayer<F>
impl<F> UnsafeUnpin for MapErrLayer<F>
impl<F> UnwindSafe for MapErrLayer<F>
impl<F: $crate::clone::Clone> Clone for MapErrLayer<F>
fn clone(self: &Self) -> MapErrLayer<F>
impl<F: $crate::fmt::Debug> Debug for MapErrLayer<F>
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl<S, F> Layer for MapErrLayer<F>
fn layer(self: &Self, inner: S) -> <Self as >::Service
impl<T> Any for MapErrLayer<F>
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for MapErrLayer<F>
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for MapErrLayer<F>
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> CloneToUninit for MapErrLayer<F>
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)
impl<T> From for MapErrLayer<F>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> Instrument for MapErrLayer<F>
impl<T> ToOwned for MapErrLayer<F>
fn to_owned(self: &Self) -> Tfn clone_into(self: &Self, target: &mut T)
impl<T> WithSubscriber for MapErrLayer<F>
impl<T, U> Into for MapErrLayer<F>
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for MapErrLayer<F>
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for MapErrLayer<F>
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>