pub enum ClassPacket {
Show 15 variants
Unimplemented(UnimplementedPacket),
SolarPower(SolarPowerPacket),
StorageBattery(StorageBatteryPacket),
Evps(EvpsPacket),
Hp(HpPacket),
SmartMeter(SmartMeterPacket),
AirConditioner(AirConditionerPacket),
Metering(MeteringPacket),
FuelCell(FuelCellPacket),
InstantaneousWaterHeater(InstantaneousWaterHeaterPacket),
GeneralLighting(GeneralLightingPacket),
MonoFunctionLighting(MonoFunctionLightingPacket),
LightingSystem(LightingSystemPacket),
Profile(ProfilePacket),
Controller(ControllerPacket),
}Expand description
Packet specified to an ECHONET class.
Variants§
Unimplemented(UnimplementedPacket)
Any unimplemented class fallback
SolarPower(SolarPowerPacket)
House hold solar power class packet
StorageBattery(StorageBatteryPacket)
Storage battery class packet
Evps(EvpsPacket)
Electric vehicle charger/discharger class packet
Hp(HpPacket)
Heat pump
SmartMeter(SmartMeterPacket)
Smart Meter class packet
AirConditioner(AirConditionerPacket)
Home Air Conditioner class packet
Metering(MeteringPacket)
Power Distribution Board Metering class packet
FuelCell(FuelCellPacket)
Fuel Cell class packet
InstantaneousWaterHeater(InstantaneousWaterHeaterPacket)
Instantaneous Water Heater class packet
GeneralLighting(GeneralLightingPacket)
General Lighting class packet
MonoFunctionLighting(MonoFunctionLightingPacket)
Mono Function Lighting class packet
LightingSystem(LightingSystemPacket)
Lighting System class packet
Profile(ProfilePacket)
Node profile class packet
Controller(ControllerPacket)
Controller class
Implementations§
Source§impl ClassPacket
impl ClassPacket
pub fn new(eoj: EchonetObject, props: Properties) -> ClassPacket
Sourcepub fn properties(&self) -> &Properties
pub fn properties(&self) -> &Properties
fetches the properties for this ClassPacket, when appropriate.
Trait Implementations§
Source§impl Display for ClassPacket
impl Display for ClassPacket
Auto Trait Implementations§
impl Freeze for ClassPacket
impl RefUnwindSafe for ClassPacket
impl Send for ClassPacket
impl Sync for ClassPacket
impl Unpin for ClassPacket
impl UnwindSafe for ClassPacket
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