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.
Implementations on Foreign Types§
Source§impl ErrKindExt for &str
impl ErrKindExt for &str
fn to_error_kind(self) -> ErrKind
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 String
impl ErrKindExt for String
fn to_error_kind(self) -> ErrKind
Source§impl ErrKindExt for Utf8Error
impl ErrKindExt for Utf8Error
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.