[][src]Enum embedded_ccs811::ErrorAwake

pub enum ErrorAwake<E> {
    I2C(E),
    Device(DeviceErrors),
    NoValidApp,
    InvalidInputData,
}

All possible errors when using an the Ccs811Awake type.

Variants

I2C(E)

I²C bus error

Device(DeviceErrors)

Errors reported by device

This can contain several errors at the same time. You can index this list by DeviceError to see if an specific error variant has been reported. See the documentation for usage examples.

NoValidApp

No valid application loaded

InvalidInputData

Invalid input data provided to function

Trait Implementations

impl<E: Debug> Debug for ErrorAwake<E>[src]

impl<CommE, PinE> From<ErrorAwake<CommE>> for Error<CommE, PinE>[src]

Auto Trait Implementations

impl<E> RefUnwindSafe for ErrorAwake<E> where
    E: RefUnwindSafe

impl<E> Send for ErrorAwake<E> where
    E: Send

impl<E> Sync for ErrorAwake<E> where
    E: Sync

impl<E> Unpin for ErrorAwake<E> where
    E: Unpin

impl<E> UnwindSafe for ErrorAwake<E> where
    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.