Enum bosch_bme680::BmeError
source · pub enum BmeError<I2C>where
I2C: I2c<SevenBitAddress>,{
WriteError(I2C::Error),
WriteReadError(I2C::Error),
UnexpectedChipId(u8),
MeasuringTimeOut,
}Expand description
All possible errors
Variants§
WriteError(I2C::Error)
Error during I2C write operation.
WriteReadError(I2C::Error)
Error during I2C WriteRead operation.
UnexpectedChipId(u8)
Got an unexpected ChipId during sensor initalization.
MeasuringTimeOut
After running the measurment the sensor blocks until the ‘new data bit’ of the sensor is set. Should this take more than 5 tries an error is returned instead of incorrect data.
Trait Implementations§
Auto Trait Implementations§
impl<I2C> RefUnwindSafe for BmeError<I2C>
impl<I2C> Send for BmeError<I2C>
impl<I2C> Sync for BmeError<I2C>
impl<I2C> Unpin for BmeError<I2C>
impl<I2C> UnwindSafe for BmeError<I2C>
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