Enum sgp30::Error [] [src]

pub enum Error<E> {
    I2c(E),
    Crc,
    NotInitialized,
}

All possible errors in this crate

Variants

I²C bus error

CRC checksum validation failed

User tried to measure the air quality without starting the initialization phase.

Trait Implementations

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

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

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

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