pub trait Error: Debug {
    fn kind(&self) -> ErrorKind;
}
Expand description

Error trait.

This trait allows generic code to do limited inspecting of errors, to react differently to different kinds.

Required Methods

Get the kind of this error.

Implementations on Foreign Types

Implementors