Struct follow_heating::io::dummy::DummyAllOutputs
source · pub struct DummyAllOutputs {
heat_pump_mode: HeatPumpMode,
heat_circulation_pump: bool,
immersion_heater_on: bool,
wiser_power_on: bool,
heat_pump_last_changed: DateTime<Utc>,
}
Fields§
§heat_pump_mode: HeatPumpMode
§heat_circulation_pump: bool
§immersion_heater_on: bool
§wiser_power_on: bool
§heat_pump_last_changed: DateTime<Utc>
Trait Implementations§
source§impl Default for DummyAllOutputs
impl Default for DummyAllOutputs
source§impl HeatCirculationPumpControl for DummyAllOutputs
impl HeatCirculationPumpControl for DummyAllOutputs
fn try_set_heat_circulation_pump( &mut self, on: bool ) -> Result<(), BrainFailure>
fn try_get_heat_circulation_pump(&self) -> Result<bool, BrainFailure>
fn set_heat_circulation_pump( &mut self, on: bool, debug_message: Option<&'static str> ) -> Result<(), BrainFailure>
source§impl HeatPumpControl for DummyAllOutputs
impl HeatPumpControl for DummyAllOutputs
fn try_set_heat_pump(&mut self, mode: HeatPumpMode) -> Result<(), BrainFailure>
fn try_get_heat_pump(&self) -> Result<HeatPumpMode, BrainFailure>
fn get_heat_pump_on_with_time(&self) -> Result<(bool, Duration), BrainFailure>
fn set_heat_pump( &mut self, mode: HeatPumpMode, debug_message: Option<&'static str> ) -> Result<(), BrainFailure>
source§impl HeatingControl for DummyAllOutputs
impl HeatingControl for DummyAllOutputs
fn as_hp(&mut self) -> &mut dyn HeatPumpControl
fn as_cp(&mut self) -> &mut dyn HeatCirculationPumpControl
source§impl ImmersionHeaterControl for DummyAllOutputs
impl ImmersionHeaterControl for DummyAllOutputs
fn try_set_immersion_heater(&mut self, on: bool) -> Result<(), BrainFailure>
fn try_get_immersion_heater(&self) -> Result<bool, BrainFailure>
source§impl MiscControls for DummyAllOutputs
impl MiscControls for DummyAllOutputs
fn as_ih(&mut self) -> &mut dyn ImmersionHeaterControl
fn as_wp(&mut self) -> &mut dyn WiserPowerControl
source§impl WiserPowerControl for DummyAllOutputs
impl WiserPowerControl for DummyAllOutputs
fn try_set_wiser_power(&mut self, on: bool) -> Result<(), BrainFailure>
fn try_get_wiser_power(&mut self) -> Result<bool, BrainFailure>
Auto Trait Implementations§
impl RefUnwindSafe for DummyAllOutputs
impl Send for DummyAllOutputs
impl Sync for DummyAllOutputs
impl Unpin for DummyAllOutputs
impl UnwindSafe for DummyAllOutputs
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