Struct follow_heating::io::controls::misc_impl::MiscGPIOControls
source · pub struct MiscGPIOControls {
gpio: SysFsGPIO,
immersion_heater_pin: usize,
wiser_power_pin: usize,
}
Fields§
§gpio: SysFsGPIO
§immersion_heater_pin: usize
§wiser_power_pin: usize
Implementations§
Trait Implementations§
source§impl ImmersionHeaterControl for MiscGPIOControls
impl ImmersionHeaterControl for MiscGPIOControls
fn try_set_immersion_heater(&mut self, on: bool) -> Result<(), BrainFailure>
fn try_get_immersion_heater(&self) -> Result<bool, BrainFailure>
source§impl MiscControls for MiscGPIOControls
impl MiscControls for MiscGPIOControls
fn as_ih(&mut self) -> &mut dyn ImmersionHeaterControl
fn as_wp(&mut self) -> &mut dyn WiserPowerControl
source§impl WiserPowerControl for MiscGPIOControls
impl WiserPowerControl for MiscGPIOControls
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 MiscGPIOControls
impl Send for MiscGPIOControls
impl Sync for MiscGPIOControls
impl Unpin for MiscGPIOControls
impl !UnwindSafe for MiscGPIOControls
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