Enum thermostat::OperatingMode [−][src]
#[repr(u8)]pub enum OperatingMode { MaintainRange, CoolToSetPoint, HeatToSetPoint, Disabled, DisabledUnsafe, }
Various thermostat operating modes
Variants
MaintainRange
Maintain temperature between min and max set points
CoolToSetPoint
Maintain temperature below the max set point
HeatToSetPoint
Maintain temperature above the min set point
Disabled
Maintain only within the min and max safety set points
DisabledUnsafe
Ignore safety set points -- do nothing except measure
Trait Implementations
impl Debug for OperatingMode
[src]
impl Debug for OperatingMode
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Copy for OperatingMode
[src]
impl Copy for OperatingMode
impl Clone for OperatingMode
[src]
impl Clone for OperatingMode
fn clone(&self) -> OperatingMode
[src]
fn clone(&self) -> OperatingMode
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for OperatingMode
[src]
impl PartialEq for OperatingMode
fn eq(&self, other: &OperatingMode) -> bool
[src]
fn eq(&self, other: &OperatingMode) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Display for OperatingMode
[src]
impl Display for OperatingMode
Auto Trait Implementations
impl Send for OperatingMode
impl Send for OperatingMode
impl Sync for OperatingMode
impl Sync for OperatingMode