[][src]Enum tmp1x2::ModeChangeError

pub enum ModeChangeError<E, DEV> {
    I2C(E, DEV),
}

Error type for mode changes.

This allows to retrieve the unchanged device in case of an error.

Variants

I2C(E, DEV)

I²C bus error while changing mode.

E is the error that happened. DEV is the device with the mode unchanged.

Trait Implementations

impl<E: Debug, DEV: Debug> Debug for ModeChangeError<E, DEV>[src]

Auto Trait Implementations

impl<E, DEV> Send for ModeChangeError<E, DEV> where
    DEV: Send,
    E: Send

impl<E, DEV> Sync for ModeChangeError<E, DEV> where
    DEV: Sync,
    E: Sync

Blanket Implementations

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]