embedded_hal::pwm

Trait Error

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

Error

Required Methods§

Source

fn kind(&self) -> ErrorKind

Convert error to a generic error kind.

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

Implementations on Foreign Types§

Source§

impl Error for Infallible

Source§

fn kind(&self) -> ErrorKind

Implementors§