pub enum Error<SpiError, PinError> {
    Spi(SpiError),
    Pin(PinError),
}
Expand description

BME280 error type.

Variants

Spi(SpiError)

SPI bus error wrapper.

Pin(PinError)

GPIO pin error wrapper.

Trait Implementations

Formats the value using the given formatter. Read more

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.