pub trait ErrorType {
    type Error: Error;
}
Expand description

I2C error type trait.

This just defines the error type, to be used by the other traits.

Required Associated Types§

source

type Error: Error

Error type

Implementations on Foreign Types§

source§

impl<T: ErrorType + ?Sized> ErrorType for &mut T

§

type Error = <T as ErrorType>::Error

Implementors§

impl<H, I2C: I2cOps<H, SDA, SCL>, SDA, SCL, CLOCK> ErrorType for I2c<H, I2C, SDA, SCL, CLOCK>

impl<'a, T> ErrorType for CriticalSectionDevice<'a, T>
where T: I2c,

impl<'a, T> ErrorType for RefCellDevice<'a, T>
where T: I2c,