//! Driver error type.
/// Errors returned by the SHT4x driver.
#[derive(Debug, Clone, Copy, PartialEq, Eq)]#[cfg_attr(feature ="defmt",derive(defmt::Format))]pubenumError<E> {/// Underlying I²C bus error.
I2c(E),/// CRC byte did not match the received data.
Crc,}impl<E>From<E>forError<E>{fnfrom(e: E)->Self{Error::I2c(e)}}