Trait MapErr

Source
pub trait MapErr<T, E> {
    // Required methods
    fn map_transient_err(self) -> Result<T, Error<E>>;
    fn map_permanent_err(self) -> Result<T, Error<E>>;
}

Required Methods§

Implementations on Foreign Types§

Source§

impl<T, E> MapErr<T, E> for Result<T, E>

Implementors§