pub trait Error: Debug { // Required method fn kind(&self) -> ErrorKind; }
Error trait.
This trait allows generic code to do limited inspecting of errors, to react differently to different kinds.
Get the kind of this error.