Trait embedded_io::Error

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

Error trait.

This trait allows generic code to do limited inspecting of errors, to react differently to different kinds.

Required Methods§

source

fn kind(&self) -> ErrorKind

Get the kind of this error.

Implementations on Foreign Types§

source§

impl Error for Infallible

source§

fn kind(&self) -> ErrorKind

source§

impl Error for Error

Available on crate feature std only.
source§

fn kind(&self) -> ErrorKind

Implementors§