pub trait IntoError {
type ErrorResult<E>;
// Required method
fn into_error(self) -> Self::ErrorResult<Error>;
}
Required Associated Types§
type ErrorResult<E>
Required Methods§
Sourcefn into_error(self) -> Self::ErrorResult<Error>
fn into_error(self) -> Self::ErrorResult<Error>
Wrap into Error
type implementing std::error::Error
trait
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.