pub enum Bme680Error {
I2CError,
InvalidWaitTime,
InvalidProfileIndex,
Timeout,
HeaterNotStable,
GasDataNotReady,
}Expand description
Errors that can occur during communication, configuration, or measurement.
Variants§
I2CError
Underlying I2C bus error.
InvalidWaitTime
Provided wait time exceeds the 4096ms hardware limit of the sensor.
InvalidProfileIndex
Provided profile index is out of bounds (valid range: 0-9).
Timeout
Sensor did not complete measurement within the expected time window.
HeaterNotStable
Gas heating plate did not reach the target temperature (check power supply).
GasDataNotReady
Gas measurement completed, but data is marked as invalid by the sensor.
Trait Implementations§
Source§impl Clone for Bme680Error
impl Clone for Bme680Error
Source§fn clone(&self) -> Bme680Error
fn clone(&self) -> Bme680Error
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Bme680Error
impl Debug for Bme680Error
impl Copy for Bme680Error
Auto Trait Implementations§
impl Freeze for Bme680Error
impl RefUnwindSafe for Bme680Error
impl Send for Bme680Error
impl Sync for Bme680Error
impl Unpin for Bme680Error
impl UnwindSafe for Bme680Error
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more