[−][src]Enum embedded_error::I2cError
An I2C specific error.
This error type contains errors specific to I2C peripherals. Also it has an Impl
kind to pass
through implementation specific errors occuring while trying to use an I2C peripheral.
Variants (Non-exhaustive)
An unspecific bus error occured
The arbitration was lost, e.g. electrical problems with the clock signal
A bus operation received a NACK, e.g. due to the addressed device not being available on the bus or device not being ready to process any requests at the moment
The peripheral receive buffer was overrun
The peripheral send buffer ran out of data
SMBus Error checking byte mismatch
SMBus Timeout error
SMBus Alert received
Impl(ImplError)
Implementation specific error (shared across all peripheral specific error kinds)
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,