Enum error_chain::example_generated::ErrorKind
[−]
[src]
pub enum ErrorKind { Msg(String), Inner(ErrorKind), Io(Error), Custom, // some variants omitted }
The kind of an error.
Variants
Msg(String)
A convenient variant for String.
Inner(ErrorKind)
Link to another ErrorChain
.
Io(Error)
Link to a std::error::Error
type.
Custom
A custom error kind.
Methods
impl ErrorKind
[src]
fn description(&self) -> &str
A string describing the error kind.
Trait Implementations
impl Debug for ErrorKind
[src]
impl Display for ErrorKind
[src]
impl From<ErrorKind> for ErrorKind
[src]
Link to another ErrorChain
.