pub enum Error {
HandlerFailed,
MeasurementFailed,
HeatMaxRunTimeConstraint,
HeatMinRunTimeConstraint,
HeatMinOffTimeConstraint,
CoolMaxRunTimeConstraint,
CoolMinRunTimeConstraint,
CoolMinOffTimeConstraint,
FanMaxRunTimeConstraint,
FanMinRunTimeConstraint,
FanMinOffTimeConstraint,
}
Expand description
Thermostat errors
Variants§
HandlerFailed
Indicates a handler failed, intended to be used by thermostat handler implementations
MeasurementFailed
Indicates a measurement failed, indended to be used by thermostat measurement implementations
HeatMaxRunTimeConstraint
Heating has met the maximum run time
HeatMinRunTimeConstraint
Heating has not yet met the minimum run time
HeatMinOffTimeConstraint
Heating has not yet met the minimum off time between cycles
CoolMaxRunTimeConstraint
Cooling has met the maximum run time
CoolMinRunTimeConstraint
Cooling has not yet met the minimum run time
CoolMinOffTimeConstraint
Cooling has not yet met the minimum off time between cycles
FanMaxRunTimeConstraint
Fan has met the maximum run time
FanMinRunTimeConstraint
Fan has not yet met the minimum run time
FanMinOffTimeConstraint
Fan has not yet met the minimum off time between cycles
Trait Implementations§
impl Copy 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 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