pub enum Bme680Error<E> {
I2CError(E),
InvalidWaitTime,
InvalidProfileIndex,
Timeout,
HeaterNotStable,
GasDataNotReady,
}Expand description
Errors that can occur during communication or configuration.
Variants§
I2CError(E)
I2C bus error.
InvalidWaitTime
Provided wait time exceeds the 4096ms hardware limit.
InvalidProfileIndex
Provided profile index is out of bounds (0-9).
Timeout
Sensor measurement timed out.
HeaterNotStable
Gas heating plate has not reached a stable temperature.
GasDataNotReady
Gas measurement data is not yet valid.
Trait Implementations§
Source§impl<E: Clone> Clone for Bme680Error<E>
impl<E: Clone> Clone for Bme680Error<E>
Source§fn clone(&self) -> Bme680Error<E>
fn clone(&self) -> Bme680Error<E>
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<E: Debug> Debug for Bme680Error<E>
impl<E: Debug> Debug for Bme680Error<E>
impl<E: Copy> Copy for Bme680Error<E>
Auto Trait Implementations§
impl<E> Freeze for Bme680Error<E>where
E: Freeze,
impl<E> RefUnwindSafe for Bme680Error<E>where
E: RefUnwindSafe,
impl<E> Send for Bme680Error<E>where
E: Send,
impl<E> Sync for Bme680Error<E>where
E: Sync,
impl<E> Unpin for Bme680Error<E>where
E: Unpin,
impl<E> UnwindSafe for Bme680Error<E>where
E: UnwindSafe,
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