pub trait ErrKindExt {
// Required method
fn to_error_kind(self) -> ErrKind;
}Expand description
A trait to convert an error kind into an error kind.
Required Methods§
Sourcefn to_error_kind(self) -> ErrKind
fn to_error_kind(self) -> ErrKind
Convert the error kind into an error kind.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
Source§impl ErrKindExt for &String
impl ErrKindExt for &String
fn to_error_kind(self) -> ErrKind
Source§impl ErrKindExt for &dyn Display
impl ErrKindExt for &dyn Display
fn to_error_kind(self) -> ErrKind
Source§impl ErrKindExt for &str
impl ErrKindExt for &str
fn to_error_kind(self) -> ErrKind
Source§impl ErrKindExt for Error
impl ErrKindExt for Error
fn to_error_kind(self) -> ErrKind
Source§impl ErrKindExt for Error
impl ErrKindExt for Error
fn to_error_kind(self) -> ErrKind
Source§impl ErrKindExt for Error
impl ErrKindExt for Error
fn to_error_kind(self) -> ErrKind
Source§impl ErrKindExt for JsValue
Available on crate feature web only.
impl ErrKindExt for JsValue
Available on crate feature
web only.