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

Serial error

Required Methods

Convert error to a generic serial error kind

By using this method, serial errors freely defined by HAL implementations can be converted to a set of generic serial errors upon which generic code can act.

Implementations on Foreign Types

Implementors