pub enum Error {
OutOfRange,
InvalidVoltage,
InvalidLoadResistance,
}Expand description
Errors that can occur when using the MiCS-6814 driver.
Variants§
OutOfRange
The Rs/R0 ratio is out of the valid range for the requested gas.
InvalidVoltage
The ADC voltage is invalid (negative, or exceeds Vcc).
InvalidLoadResistance
The load resistance is zero or negative.
Trait Implementations§
impl Copy for Error
impl StructuralPartialEq for Error
Auto Trait Implementations§
impl Freeze for Error
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnsafeUnpin for Error
impl UnwindSafe for Error
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