Skip to main content

ErrorMapping

Trait ErrorMapping 

Source
pub trait ErrorMapping<T, E, U> {
    // Required method
    fn into_error(self) -> Result<T, Error<U>>;
}

Required Methods§

Source

fn into_error(self) -> Result<T, Error<U>>

Implementations on Foreign Types§

Source§

impl<T, E, U> ErrorMapping<T, E, U> for Result<T, Error<E>>
where U: From<E>, E: Clone,

Source§

fn into_error(self) -> Result<T, Error<U>>

Source§

impl<T, E, U> ErrorMapping<T, E, U> for Result<T, E>
where U: From<E>,

Source§

fn into_error(self) -> Result<T, Error<U>>

Implementors§