Skip to main content

IntoAlienError

Trait IntoAlienError 

Source
pub trait IntoAlienError<T> {
    // Required method
    fn into_alien_error(self) -> Result<T, AlienError<GenericError>>;
}
Expand description

Extension trait for converting standard errors to AlienError

Required Methods§

Source

fn into_alien_error(self) -> Result<T, AlienError<GenericError>>

Convert a standard error result into an AlienError result

Implementations on Foreign Types§

Source§

impl<T, E> IntoAlienError<T> for Result<T, E>
where E: StdError + 'static,

Implementors§