pub struct OnMode {
circulation_pump_on: bool,
started: Instant,
}
Fields§
§circulation_pump_on: bool
§started: Instant
Implementations§
Trait Implementations§
source§impl Mode for OnMode
impl Mode for OnMode
fn enter( &mut self, _config: &PythonBrainConfig, _runtime: &Runtime, io_bundle: &mut IOBundle ) -> Result<(), BrainFailure>
fn update( &mut self, rt: &Runtime, config: &PythonBrainConfig, info_cache: &mut InfoCache, io_bundle: &mut IOBundle, time: &impl TimeProvider ) -> Result<Intention, BrainFailure>
source§impl PartialEq for OnMode
impl PartialEq for OnMode
impl StructuralPartialEq for OnMode
Auto Trait Implementations§
impl RefUnwindSafe for OnMode
impl Send for OnMode
impl Sync for OnMode
impl Unpin for OnMode
impl UnwindSafe for OnMode
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