pub enum AquariumDevice {
Show 13 variants
Skimmer,
MainPump1,
MainPump2,
AuxPump1,
AuxPump2,
Heater,
Ventilation,
RefillPump,
Feeder,
PeristalticPump1,
PeristalticPump2,
PeristalticPump3,
PeristalticPump4,
}Expand description
Enum is used for internal thread messaging from control circuits to Controllino. These values are nested into enum InternalCommand. They represent all actuation devices.
Variants§
Skimmer
MainPump1
MainPump2
AuxPump1
AuxPump2
Heater
Ventilation
RefillPump
Feeder
PeristalticPump1
PeristalticPump2
PeristalticPump3
PeristalticPump4
Trait Implementations§
Source§impl Clone for AquariumDevice
impl Clone for AquariumDevice
Source§fn clone(&self) -> AquariumDevice
fn clone(&self) -> AquariumDevice
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AquariumDevice
impl Debug for AquariumDevice
Source§impl Display for AquariumDevice
impl Display for AquariumDevice
Source§fn fmt(&self, f: &mut Formatter<'_>) -> Result
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Formats the AquariumDevice enum into its human-readable string representation.
This implementation enables AquariumDevice variants to be printed directly
using macros like println! or format!, returning the name of the device.
§Arguments
f- A mutable reference to the formatter, as required by thefmt::Displaytrait.
§Returns
A fmt::Result indicating whether the formatting operation was successful.
Source§impl PartialEq for AquariumDevice
impl PartialEq for AquariumDevice
impl StructuralPartialEq for AquariumDevice
Auto Trait Implementations§
impl Freeze for AquariumDevice
impl RefUnwindSafe for AquariumDevice
impl Send for AquariumDevice
impl Sync for AquariumDevice
impl Unpin for AquariumDevice
impl UnwindSafe for AquariumDevice
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