pub enum MeasurementMode {
Idle,
ConstantPower1s,
PulseHeating10s,
LowPowerPulseHeating60s,
ConstantPower250ms,
}
Expand description
Measurement modes.
NOTE: When changing to a new mode with a lower sample rate,
place the device in Idle
mode for at least 10 minutes before
enabling the new mode.
Variants§
Idle
Idle. Measurements are disabled. (Mode 0)
ConstantPower1s
Constant power mode. IAQ measurement every second. (Mode 1)
PulseHeating10s
Pulse heating mode. IAQ measurement every 10 seconds. (Mode 2)
LowPowerPulseHeating60s
Low power pulse heating mode. IAQ measurement every 60 seconds. (Mode 3)
ConstantPower250ms
Constant power mode. IAQ measurement every 250ms. (Mode 4)
Trait Implementations§
Source§impl Clone for MeasurementMode
impl Clone for MeasurementMode
Source§fn clone(&self) -> MeasurementMode
fn clone(&self) -> MeasurementMode
Returns a copy 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 Debug for MeasurementMode
impl Debug for MeasurementMode
Source§impl PartialEq for MeasurementMode
impl PartialEq for MeasurementMode
impl Copy for MeasurementMode
impl StructuralPartialEq for MeasurementMode
Auto Trait Implementations§
impl Freeze for MeasurementMode
impl RefUnwindSafe for MeasurementMode
impl Send for MeasurementMode
impl Sync for MeasurementMode
impl Unpin for MeasurementMode
impl UnwindSafe for MeasurementMode
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