pub trait ErrorKind:
Display
+ Debug
+ 'static {
// Required method
fn error_type(&self) -> ErrorType;
}Required Methods§
Sourcefn error_type(&self) -> ErrorType
fn error_type(&self) -> ErrorType
Defines type of the error