embedded_hal::can

Trait Error

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

CAN error

Required Methods§

source

fn kind(&self) -> ErrorKind

Convert error to a generic CAN error kind

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

Implementors§