pub enum Command {
Show 24 variants
NoOperation,
Basic(Command),
ApplicationStatus(Command),
BinarySwitch(Command),
MultilevelSwitch(Command),
BinarySensor(Command),
MultilevelSensor(Command),
Meter(Command),
Crc16Encapsulation(Command),
DeviceResetLocally(Command),
ZwavePlusInfo(Command),
MultiChannel(Command),
Supervision(Command),
Configuration(Command),
Notification(Command),
ManufacturerSpecific(Command),
FirmwareUpdateMd(Command),
Battery(Command),
WakeUp(Command),
Association(Command),
Version(Command),
Security(Command),
Security2(Command),
Unknown(RawCommand),
}Expand description
A parsed command of any known command class.
Variants§
NoOperation
No Operation (0x00), a ping with no command id.
Basic(Command)
Basic.
ApplicationStatus(Command)
Application Status.
BinarySwitch(Command)
Binary Switch.
MultilevelSwitch(Command)
Multilevel Switch.
BinarySensor(Command)
Binary Sensor.
MultilevelSensor(Command)
Multilevel Sensor.
Meter(Command)
Meter.
Crc16Encapsulation(Command)
CRC-16 Encapsulation.
DeviceResetLocally(Command)
Device Reset Locally.
ZwavePlusInfo(Command)
Z-Wave Plus Info.
MultiChannel(Command)
Multi Channel.
Supervision(Command)
Supervision.
Configuration(Command)
Configuration.
Notification(Command)
Notification.
ManufacturerSpecific(Command)
Manufacturer Specific.
FirmwareUpdateMd(Command)
Firmware Update Meta Data.
Battery(Command)
Battery.
WakeUp(Command)
Wake Up.
Association(Command)
Association.
Version(Command)
Version.
Security(Command)
Security 0.
Security2(Command)
Security 2.
Unknown(RawCommand)
A command class or command these definitions do not cover.
Implementations§
Trait Implementations§
impl Eq for Command
Source§impl From<ActivationReport> for Command
impl From<ActivationReport> for Command
Source§fn from(c: ActivationReport) -> Self
fn from(c: ActivationReport) -> Self
Converts to this type from the input type.
Source§impl From<ActivationSet> for Command
impl From<ActivationSet> for Command
Source§fn from(c: ActivationSet) -> Self
fn from(c: ActivationSet) -> Self
Converts to this type from the input type.
Source§impl From<AggregatedMembersGet> for Command
impl From<AggregatedMembersGet> for Command
Source§fn from(c: AggregatedMembersGet) -> Self
fn from(c: AggregatedMembersGet) -> Self
Converts to this type from the input type.
Source§impl From<AggregatedMembersReport> for Command
impl From<AggregatedMembersReport> for Command
Source§fn from(c: AggregatedMembersReport) -> Self
fn from(c: AggregatedMembersReport) -> Self
Converts to this type from the input type.
Source§impl From<CapabilitiesGet> for Command
impl From<CapabilitiesGet> for Command
Source§fn from(c: CapabilitiesGet) -> Self
fn from(c: CapabilitiesGet) -> Self
Converts to this type from the input type.
Source§impl From<CapabilitiesReport> for Command
impl From<CapabilitiesReport> for Command
Source§fn from(c: CapabilitiesReport) -> Self
fn from(c: CapabilitiesReport) -> Self
Converts to this type from the input type.
Source§impl From<CapabilityGet> for Command
impl From<CapabilityGet> for Command
Source§fn from(c: CapabilityGet) -> Self
fn from(c: CapabilityGet) -> Self
Converts to this type from the input type.
Source§impl From<CapabilityReport> for Command
impl From<CapabilityReport> for Command
Source§fn from(c: CapabilityReport) -> Self
fn from(c: CapabilityReport) -> Self
Converts to this type from the input type.
Source§impl From<CommandClassGet> for Command
impl From<CommandClassGet> for Command
Source§fn from(c: CommandClassGet) -> Self
fn from(c: CommandClassGet) -> Self
Converts to this type from the input type.
Source§impl From<CommandClassReport> for Command
impl From<CommandClassReport> for Command
Source§fn from(c: CommandClassReport) -> Self
fn from(c: CommandClassReport) -> Self
Converts to this type from the input type.
Source§impl From<CommandEncapsulation> for Command
impl From<CommandEncapsulation> for Command
Source§fn from(c: CommandEncapsulation) -> Self
fn from(c: CommandEncapsulation) -> Self
Converts to this type from the input type.
Source§impl From<CommandsSupportedGet> for Command
impl From<CommandsSupportedGet> for Command
Source§fn from(c: CommandsSupportedGet) -> Self
fn from(c: CommandsSupportedGet) -> Self
Converts to this type from the input type.
Source§impl From<CommandsSupportedGet> for Command
impl From<CommandsSupportedGet> for Command
Source§fn from(c: CommandsSupportedGet) -> Self
fn from(c: CommandsSupportedGet) -> Self
Converts to this type from the input type.
Source§impl From<CommandsSupportedReport> for Command
impl From<CommandsSupportedReport> for Command
Source§fn from(c: CommandsSupportedReport) -> Self
fn from(c: CommandsSupportedReport) -> Self
Converts to this type from the input type.
Source§impl From<CommandsSupportedReport> for Command
impl From<CommandsSupportedReport> for Command
Source§fn from(c: CommandsSupportedReport) -> Self
fn from(c: CommandsSupportedReport) -> Self
Converts to this type from the input type.
Source§impl From<DefaultReset> for Command
impl From<DefaultReset> for Command
Source§fn from(c: DefaultReset) -> Self
fn from(c: DefaultReset) -> Self
Converts to this type from the input type.
Source§impl From<DeviceSpecificGet> for Command
impl From<DeviceSpecificGet> for Command
Source§fn from(c: DeviceSpecificGet) -> Self
fn from(c: DeviceSpecificGet) -> Self
Converts to this type from the input type.
Source§impl From<DeviceSpecificReport> for Command
impl From<DeviceSpecificReport> for Command
Source§fn from(c: DeviceSpecificReport) -> Self
fn from(c: DeviceSpecificReport) -> Self
Converts to this type from the input type.
Source§impl From<Encapsulation> for Command
impl From<Encapsulation> for Command
Source§fn from(c: Encapsulation) -> Self
fn from(c: Encapsulation) -> Self
Converts to this type from the input type.
Source§impl From<EndPointFind> for Command
impl From<EndPointFind> for Command
Source§fn from(c: EndPointFind) -> Self
fn from(c: EndPointFind) -> Self
Converts to this type from the input type.
Source§impl From<EndPointFindReport> for Command
impl From<EndPointFindReport> for Command
Source§fn from(c: EndPointFindReport) -> Self
fn from(c: EndPointFindReport) -> Self
Converts to this type from the input type.
Source§impl From<EndPointGet> for Command
impl From<EndPointGet> for Command
Source§fn from(c: EndPointGet) -> Self
fn from(c: EndPointGet) -> Self
Converts to this type from the input type.
Source§impl From<EndPointReport> for Command
impl From<EndPointReport> for Command
Source§fn from(c: EndPointReport) -> Self
fn from(c: EndPointReport) -> Self
Converts to this type from the input type.
Source§impl From<EventSupportedGet> for Command
impl From<EventSupportedGet> for Command
Source§fn from(c: EventSupportedGet) -> Self
fn from(c: EventSupportedGet) -> Self
Converts to this type from the input type.
Source§impl From<EventSupportedReport> for Command
impl From<EventSupportedReport> for Command
Source§fn from(c: EventSupportedReport) -> Self
fn from(c: EventSupportedReport) -> Self
Converts to this type from the input type.
Source§impl From<GroupingsGet> for Command
impl From<GroupingsGet> for Command
Source§fn from(c: GroupingsGet) -> Self
fn from(c: GroupingsGet) -> Self
Converts to this type from the input type.
Source§impl From<GroupingsReport> for Command
impl From<GroupingsReport> for Command
Source§fn from(c: GroupingsReport) -> Self
fn from(c: GroupingsReport) -> Self
Converts to this type from the input type.
Source§impl From<HealthReport> for Command
impl From<HealthReport> for Command
Source§fn from(c: HealthReport) -> Self
fn from(c: HealthReport) -> Self
Converts to this type from the input type.
Source§impl From<InfoReport> for Command
impl From<InfoReport> for Command
Source§fn from(c: InfoReport) -> Self
fn from(c: InfoReport) -> Self
Converts to this type from the input type.
Source§impl From<IntervalCapabilitiesGet> for Command
impl From<IntervalCapabilitiesGet> for Command
Source§fn from(c: IntervalCapabilitiesGet) -> Self
fn from(c: IntervalCapabilitiesGet) -> Self
Converts to this type from the input type.
Source§impl From<IntervalCapabilitiesReport> for Command
impl From<IntervalCapabilitiesReport> for Command
Source§fn from(c: IntervalCapabilitiesReport) -> Self
fn from(c: IntervalCapabilitiesReport) -> Self
Converts to this type from the input type.
Source§impl From<IntervalGet> for Command
impl From<IntervalGet> for Command
Source§fn from(c: IntervalGet) -> Self
fn from(c: IntervalGet) -> Self
Converts to this type from the input type.
Source§impl From<IntervalReport> for Command
impl From<IntervalReport> for Command
Source§fn from(c: IntervalReport) -> Self
fn from(c: IntervalReport) -> Self
Converts to this type from the input type.
Source§impl From<IntervalSet> for Command
impl From<IntervalSet> for Command
Source§fn from(c: IntervalSet) -> Self
fn from(c: IntervalSet) -> Self
Converts to this type from the input type.
Source§impl From<MessageEncapsulation> for Command
impl From<MessageEncapsulation> for Command
Source§fn from(c: MessageEncapsulation) -> Self
fn from(c: MessageEncapsulation) -> Self
Converts to this type from the input type.
Source§impl From<MessageEncapsulation> for Command
impl From<MessageEncapsulation> for Command
Source§fn from(c: MessageEncapsulation) -> Self
fn from(c: MessageEncapsulation) -> Self
Converts to this type from the input type.
Source§impl From<MessageEncapsulationNonceGet> for Command
impl From<MessageEncapsulationNonceGet> for Command
Source§fn from(c: MessageEncapsulationNonceGet) -> Self
fn from(c: MessageEncapsulationNonceGet) -> Self
Converts to this type from the input type.
Source§impl From<MetaDataGet> for Command
impl From<MetaDataGet> for Command
Source§fn from(c: MetaDataGet) -> Self
fn from(c: MetaDataGet) -> Self
Converts to this type from the input type.
Source§impl From<MetaDataReport> for Command
impl From<MetaDataReport> for Command
Source§fn from(c: MetaDataReport) -> Self
fn from(c: MetaDataReport) -> Self
Converts to this type from the input type.
Source§impl From<NameReport> for Command
impl From<NameReport> for Command
Source§fn from(c: NameReport) -> Self
fn from(c: NameReport) -> Self
Converts to this type from the input type.
Source§impl From<NetworkKeyGet> for Command
impl From<NetworkKeyGet> for Command
Source§fn from(c: NetworkKeyGet) -> Self
fn from(c: NetworkKeyGet) -> Self
Converts to this type from the input type.
Source§impl From<NetworkKeyReport> for Command
impl From<NetworkKeyReport> for Command
Source§fn from(c: NetworkKeyReport) -> Self
fn from(c: NetworkKeyReport) -> Self
Converts to this type from the input type.
Source§impl From<NetworkKeySet> for Command
impl From<NetworkKeySet> for Command
Source§fn from(c: NetworkKeySet) -> Self
fn from(c: NetworkKeySet) -> Self
Converts to this type from the input type.
Source§impl From<NetworkKeyVerify> for Command
impl From<NetworkKeyVerify> for Command
Source§fn from(c: NetworkKeyVerify) -> Self
fn from(c: NetworkKeyVerify) -> Self
Converts to this type from the input type.
Source§impl From<NetworkKeyVerify> for Command
impl From<NetworkKeyVerify> for Command
Source§fn from(c: NetworkKeyVerify) -> Self
fn from(c: NetworkKeyVerify) -> Self
Converts to this type from the input type.
Source§impl From<NoMoreInformation> for Command
impl From<NoMoreInformation> for Command
Source§fn from(c: NoMoreInformation) -> Self
fn from(c: NoMoreInformation) -> Self
Converts to this type from the input type.
Source§impl From<NonceReport> for Command
impl From<NonceReport> for Command
Source§fn from(c: NonceReport) -> Self
fn from(c: NonceReport) -> Self
Converts to this type from the input type.
Source§impl From<NonceReport> for Command
impl From<NonceReport> for Command
Source§fn from(c: NonceReport) -> Self
fn from(c: NonceReport) -> Self
Converts to this type from the input type.
Source§impl From<Notification> for Command
impl From<Notification> for Command
Source§fn from(c: Notification) -> Self
fn from(c: Notification) -> Self
Converts to this type from the input type.
Source§impl From<Notification> for Command
impl From<Notification> for Command
Source§fn from(c: Notification) -> Self
fn from(c: Notification) -> Self
Converts to this type from the input type.
Source§impl From<PropertiesGet> for Command
impl From<PropertiesGet> for Command
Source§fn from(c: PropertiesGet) -> Self
fn from(c: PropertiesGet) -> Self
Converts to this type from the input type.
Source§impl From<PropertiesReport> for Command
impl From<PropertiesReport> for Command
Source§fn from(c: PropertiesReport) -> Self
fn from(c: PropertiesReport) -> Self
Converts to this type from the input type.
Source§impl From<PublicKeyReport> for Command
impl From<PublicKeyReport> for Command
Source§fn from(c: PublicKeyReport) -> Self
fn from(c: PublicKeyReport) -> Self
Converts to this type from the input type.
Source§impl From<RejectedRequest> for Command
impl From<RejectedRequest> for Command
Source§fn from(c: RejectedRequest) -> Self
fn from(c: RejectedRequest) -> Self
Converts to this type from the input type.
Source§impl From<RequestGet> for Command
impl From<RequestGet> for Command
Source§fn from(c: RequestGet) -> Self
fn from(c: RequestGet) -> Self
Converts to this type from the input type.
Source§impl From<RequestReport> for Command
impl From<RequestReport> for Command
Source§fn from(c: RequestReport) -> Self
fn from(c: RequestReport) -> Self
Converts to this type from the input type.
Source§impl From<SchemeInherit> for Command
impl From<SchemeInherit> for Command
Source§fn from(c: SchemeInherit) -> Self
fn from(c: SchemeInherit) -> Self
Converts to this type from the input type.
Source§impl From<SchemeReport> for Command
impl From<SchemeReport> for Command
Source§fn from(c: SchemeReport) -> Self
fn from(c: SchemeReport) -> Self
Converts to this type from the input type.
Source§impl From<SpecificGroupGet> for Command
impl From<SpecificGroupGet> for Command
Source§fn from(c: SpecificGroupGet) -> Self
fn from(c: SpecificGroupGet) -> Self
Converts to this type from the input type.
Source§impl From<SpecificGroupReport> for Command
impl From<SpecificGroupReport> for Command
Source§fn from(c: SpecificGroupReport) -> Self
fn from(c: SpecificGroupReport) -> Self
Converts to this type from the input type.
Source§impl From<StartLevelChange> for Command
impl From<StartLevelChange> for Command
Source§fn from(c: StartLevelChange) -> Self
fn from(c: StartLevelChange) -> Self
Converts to this type from the input type.
Source§impl From<StatusReport> for Command
impl From<StatusReport> for Command
Source§fn from(c: StatusReport) -> Self
fn from(c: StatusReport) -> Self
Converts to this type from the input type.
Source§impl From<StopLevelChange> for Command
impl From<StopLevelChange> for Command
Source§fn from(c: StopLevelChange) -> Self
fn from(c: StopLevelChange) -> Self
Converts to this type from the input type.
Source§impl From<SupportedGet> for Command
impl From<SupportedGet> for Command
Source§fn from(c: SupportedGet) -> Self
fn from(c: SupportedGet) -> Self
Converts to this type from the input type.
Source§impl From<SupportedGet> for Command
impl From<SupportedGet> for Command
Source§fn from(c: SupportedGet) -> Self
fn from(c: SupportedGet) -> Self
Converts to this type from the input type.
Source§impl From<SupportedGet> for Command
impl From<SupportedGet> for Command
Source§fn from(c: SupportedGet) -> Self
fn from(c: SupportedGet) -> Self
Converts to this type from the input type.
Source§impl From<SupportedGet> for Command
impl From<SupportedGet> for Command
Source§fn from(c: SupportedGet) -> Self
fn from(c: SupportedGet) -> Self
Converts to this type from the input type.
Source§impl From<SupportedReport> for Command
impl From<SupportedReport> for Command
Source§fn from(c: SupportedReport) -> Self
fn from(c: SupportedReport) -> Self
Converts to this type from the input type.
Source§impl From<SupportedReport> for Command
impl From<SupportedReport> for Command
Source§fn from(c: SupportedReport) -> Self
fn from(c: SupportedReport) -> Self
Converts to this type from the input type.
Source§impl From<SupportedReport> for Command
impl From<SupportedReport> for Command
Source§fn from(c: SupportedReport) -> Self
fn from(c: SupportedReport) -> Self
Converts to this type from the input type.
Source§impl From<SupportedReport> for Command
impl From<SupportedReport> for Command
Source§fn from(c: SupportedReport) -> Self
fn from(c: SupportedReport) -> Self
Converts to this type from the input type.
Source§impl From<SupportedScaleGet> for Command
impl From<SupportedScaleGet> for Command
Source§fn from(c: SupportedScaleGet) -> Self
fn from(c: SupportedScaleGet) -> Self
Converts to this type from the input type.
Source§impl From<SupportedScaleReport> for Command
impl From<SupportedScaleReport> for Command
Source§fn from(c: SupportedScaleReport) -> Self
fn from(c: SupportedScaleReport) -> Self
Converts to this type from the input type.
Source§impl From<SupportedSensorGet> for Command
impl From<SupportedSensorGet> for Command
Source§fn from(c: SupportedSensorGet) -> Self
fn from(c: SupportedSensorGet) -> Self
Converts to this type from the input type.
Source§impl From<SupportedSensorReport> for Command
impl From<SupportedSensorReport> for Command
Source§fn from(c: SupportedSensorReport) -> Self
fn from(c: SupportedSensorReport) -> Self
Converts to this type from the input type.
Source§impl From<TransferEnd> for Command
impl From<TransferEnd> for Command
Source§fn from(c: TransferEnd) -> Self
fn from(c: TransferEnd) -> Self
Converts to this type from the input type.
Source§impl From<ZwaveSoftwareGet> for Command
impl From<ZwaveSoftwareGet> for Command
Source§fn from(c: ZwaveSoftwareGet) -> Self
fn from(c: ZwaveSoftwareGet) -> Self
Converts to this type from the input type.
Source§impl From<ZwaveSoftwareReport> for Command
impl From<ZwaveSoftwareReport> for Command
Source§fn from(c: ZwaveSoftwareReport) -> Self
fn from(c: ZwaveSoftwareReport) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for Command
Auto Trait Implementations§
impl Freeze for Command
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnsafeUnpin for Command
impl UnwindSafe for Command
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