Enum aht20_async::Error
source · pub enum Error<I2CERR> {
Uncalibrated,
Checksum,
I2c(I2CERR),
}
Expand description
AHT20 Error.
Variants§
Uncalibrated
Device is not calibrated.
Checksum
Checksum mismatch.
I2c(I2CERR)
Underlying I2C error.
Trait Implementations§
impl<I2CERR: Copy> Copy for Error<I2CERR>
Auto Trait Implementations§
impl<I2CERR> RefUnwindSafe for Error<I2CERR>where
I2CERR: RefUnwindSafe,
impl<I2CERR> Send for Error<I2CERR>where
I2CERR: Send,
impl<I2CERR> Sync for Error<I2CERR>where
I2CERR: Sync,
impl<I2CERR> Unpin for Error<I2CERR>where
I2CERR: Unpin,
impl<I2CERR> UnwindSafe for Error<I2CERR>where
I2CERR: 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