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
[src]
A string describing the error kind.
Trait Implementations
impl Debug for ErrorKind
[src]
impl Display for ErrorKind
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl From<ErrorKind> for ErrorKind
[src]
Link to another ErrorChain
.