[][src]Enum ltr_559::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.

Auto Trait Implementations

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

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

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

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

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.