Skip to main content

IntoError

Trait IntoError 

Source
pub trait IntoError {
    // Required method
    fn into_error(self) -> Error;
}

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl IntoError for &'static str

Source§

impl IntoError for String

Implementors§