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>>;
}
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>>;
}