Struct bosch_bme680::Bme680

source ·
pub struct Bme680<I2C, D> { /* private fields */ }
Expand description

Sensor driver

Implementations§

Creates a new instance of the Sensor

Arguments
  • delayer - Used to wait for the triggered measurment to finish
  • ambient_temperature - Needed to calculate the heater target temperature

Returns the wrapped i2c interface

Triger a new measurment.

Errors

If no new data is generated in 5 tries a Timeout error is returned.

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.