tokio_retry2

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§