pub trait HeatCirculationPumpControl {
    // Required methods
    fn try_set_heat_circulation_pump(
        &mut self,
        on: bool
    ) -> Result<(), BrainFailure>;
    fn try_get_heat_circulation_pump(&self) -> Result<bool, BrainFailure>;

    // Provided method
    fn set_heat_circulation_pump(
        &mut self,
        on: bool,
        debug_message: Option<&'static str>
    ) -> Result<(), BrainFailure> { ... }
}

Required Methods§

Provided Methods§

source

fn set_heat_circulation_pump( &mut self, on: bool, debug_message: Option<&'static str> ) -> Result<(), BrainFailure>

Implementors§