Trait trackable::error::ErrorKind
[−]
[src]
pub trait ErrorKind: Debug { fn description(&self) -> &str { ... } fn display(&self, f: &mut Formatter) -> Result { ... } }
This trait represents a error kind which TrackableError
can have.
Provided Methods
fn description(&self) -> &str
A short description of the error kind.
This is used for the description of the error that contains it.
The default implementation always returns "An error"
.
fn display(&self, f: &mut Formatter) -> Result
Displays this kind.
The default implementation uses the debugging form of this.
Implementations on Foreign Types
impl ErrorKind for String
[src]
Implementors
impl ErrorKind for Failed