Trait libimagerror::into::IntoError
[−]
[src]
pub trait IntoError { type Target: Error; fn into_error(self) -> Self::Target; fn into_error_with_cause(self, cause: Box<Error>) -> Self::Target; }
Trait to help converting Error kinds into Error instances
Associated Types
Required Methods
fn into_error(self) -> Self::Target
Convert the type into an error with no cause
fn into_error_with_cause(self, cause: Box<Error>) -> Self::Target
Convert the type into an error with cause