#[non_exhaustive]pub enum ResponseParameterData {
Show 108 variants
DiscMute {
control_field: u16,
binding_uid: Option<DeviceUID>,
},
DiscUnMute {
control_field: u16,
binding_uid: Option<DeviceUID>,
},
GetProxiedDeviceCount {
device_count: u16,
list_change: bool,
},
GetProxiedDevices(Vec<DeviceUID>),
GetCommsStatus {
short_message: u16,
length_mismatch: u16,
checksum_fail: u16,
},
GetStatusMessages(Vec<StatusMessage>),
GetStatusIdDescription(String),
GetSubDeviceIdStatusReportThreshold(StatusType),
GetSupportedParameters(Vec<u16>),
GetParameterDescription(ParameterDescription),
GetDeviceInfo {
protocol_version: ProtocolVersion,
model_id: u16,
product_category: ProductCategory,
software_version_id: u32,
footprint: u16,
current_personality: u8,
personality_count: u8,
start_address: u16,
sub_device_count: u16,
sensor_count: u8,
},
GetProductDetailIdList(Vec<ProductDetail>),
GetDeviceModelDescription(String),
GetManufacturerLabel(String),
GetDeviceLabel(String),
GetFactoryDefaults(bool),
GetLanguageCapabilities(Vec<String>),
GetLanguage(String),
GetSoftwareVersionLabel(String),
GetBootSoftwareVersionId(u32),
GetBootSoftwareVersionLabel(String),
GetDmxPersonality {
current_personality: u8,
personality_count: u8,
},
GetDmxPersonalityDescription {
id: u8,
dmx_slots_required: u16,
description: String,
},
GetDmxStartAddress(u16),
GetSlotInfo(Vec<SlotInfo>),
GetSlotDescription {
slot_id: u16,
description: String,
},
GetDefaultSlotValue(Vec<DefaultSlotValue>),
GetSensorDefinition(SensorDefinition),
GetSensorValue(SensorValue),
SetSensorValue(SensorValue),
GetDeviceHours(u32),
GetLampHours(u32),
GetLampStrikes(u32),
GetLampState(LampState),
GetLampOnMode(LampOnMode),
GetDevicePowerCycles(u32),
GetDisplayInvert(DisplayInvertMode),
GetDisplayLevel(u8),
GetPanInvert(bool),
GetTiltInvert(bool),
GetPanTiltSwap(bool),
GetRealTimeClock {
year: u16,
month: u8,
day: u8,
hour: u8,
minute: u8,
second: u8,
},
GetIdentifyDevice(bool),
GetPowerState(PowerState),
GetPerformSelfTest(bool),
GetSelfTestDescription {
self_test_id: SelfTest,
description: String,
},
GetPresetPlayback {
mode: PresetPlaybackMode,
level: u8,
},
GetDmxBlockAddress {
total_sub_device_footprint: u16,
base_dmx_address: u16,
},
GetDmxFailMode {
scene_id: PresetPlaybackMode,
loss_of_signal_delay: TimeMode,
hold_time: TimeMode,
level: u8,
},
GetDmxStartupMode {
scene_id: PresetPlaybackMode,
startup_delay: TimeMode,
hold_time: TimeMode,
level: u8,
},
GetPowerOnSelfTest(bool),
GetLockState {
lock_state_id: u8,
lock_state_count: u8,
},
GetLockStateDescription {
lock_state_id: u8,
description: String,
},
GetLockPin(PinCode),
GetBurnIn(u8),
GetDimmerInfo {
minimum_level_lower_limit: u16,
minimum_level_upper_limit: u16,
maximum_level_lower_limit: u16,
maximum_level_upper_limit: u16,
number_of_supported_curves: u8,
levels_resolution: u8,
minimum_level_split_levels_supported: bool,
},
GetMinimumLevel {
minimum_level_increasing: u16,
minimum_level_decreasing: u16,
on_below_minimum: bool,
},
GetMaximumLevel(u16),
GetCurve {
curve_id: u8,
curve_count: u8,
},
GetCurveDescription {
curve_id: u8,
description: String,
},
GetOutputResponseTime {
response_time_id: u8,
response_time_count: u8,
},
GetOutputResponseTimeDescription {
response_time_id: u8,
description: String,
},
GetModulationFrequency {
modulation_frequency_id: u8,
modulation_frequency_count: u8,
},
GetModulationFrequencyDescription {
modulation_frequency_id: u8,
frequency: u32,
description: String,
},
GetPresetInfo {Show 19 fields
level_field_supported: bool,
preset_sequence_supported: bool,
split_times_supported: bool,
dmx_fail_infinite_delay_time_supported: bool,
dmx_fail_infinite_hold_time_supported: bool,
startup_infinite_hold_time_supported: bool,
maximum_scene_number: u16,
minimum_preset_fade_time_supported: u16,
maximum_preset_fade_time_supported: u16,
minimum_preset_wait_time_supported: u16,
maximum_preset_wait_time_supported: u16,
minimum_dmx_fail_delay_time_supported: SupportedTimes,
maximum_dmx_fail_delay_time_supported: SupportedTimes,
minimum_dmx_fail_hold_time_supported: SupportedTimes,
maximum_dmx_fail_hold_time_supported: SupportedTimes,
minimum_startup_delay_time_supported: SupportedTimes,
maximum_startup_delay_time_supported: SupportedTimes,
minimum_startup_hold_time_supported: SupportedTimes,
maximum_startup_hold_time_supported: SupportedTimes,
},
GetPresetStatus {
scene_id: u16,
up_fade_time: u16,
down_fade_time: u16,
wait_time: u16,
programmed: PresetProgrammed,
},
GetPresetMergeMode(MergeMode),
GetListInterfaces(Vec<NetworkInterface>),
GetInterfaceLabel {
interface_id: u32,
interface_label: String,
},
GetInterfaceHardwareAddressType1 {
interface_id: u32,
hardware_address: MacAddr6,
},
GetIpV4DhcpMode {
interface_id: u32,
dhcp_mode: bool,
},
GetIpV4ZeroConfMode {
interface_id: u32,
zero_conf_mode: bool,
},
GetIpV4CurrentAddress {
interface_id: u32,
address: Ipv4Address,
netmask: u8,
dhcp_status: DhcpMode,
},
GetIpV4StaticAddress {
interface_id: u32,
address: Ipv4Address,
netmask: u8,
},
GetIpV4DefaultRoute {
interface_id: u32,
address: Ipv4Route,
},
GetDnsIpV4NameServer {
name_server_index: u8,
address: Ipv4Address,
},
GetDnsHostName(String),
GetDnsDomainName(String),
GetEndpointList {
list_change_number: u32,
endpoint_list: Vec<(EndpointId, EndpointType)>,
},
GetEndpointListChange {
list_change_number: u32,
},
GetIdentifyEndpoint {
endpoint_id: EndpointId,
identify: bool,
},
SetIdentifyEndpoint {
endpoint_id: EndpointId,
},
GetEndpointToUniverse {
endpoint_id: EndpointId,
universe: u16,
},
SetEndpointToUniverse {
endpoint_id: EndpointId,
},
GetEndpointMode {
endpoint_id: EndpointId,
mode: EndpointMode,
},
SetEndpointMode {
endpoint_id: EndpointId,
},
GetEndpointLabel {
endpoint_id: EndpointId,
label: String,
},
SetEndpointLabel {
endpoint_id: EndpointId,
},
GetRdmTrafficEnable {
endpoint_id: EndpointId,
enable: bool,
},
SetRdmTrafficEnable {
endpoint_id: EndpointId,
},
GetDiscoveryState {
endpoint_id: EndpointId,
device_count: DiscoveryCountStatus,
discovery_state: DiscoveryState,
},
SetDiscoveryState {
endpoint_id: EndpointId,
},
GetBackgroundDiscovery {
endpoint_id: EndpointId,
enabled: bool,
},
SetBackgroundDiscovery {
endpoint_id: EndpointId,
},
GetEndpointTiming {
endpoint_id: EndpointId,
current_setting_id: u8,
setting_count: u8,
},
SetEndpointTiming {
endpoint_id: EndpointId,
},
GetEndpointTimingDescription {
setting_id: u8,
description: String,
},
GetEndpointResponders {
endpoint_id: EndpointId,
list_change_number: u32,
responders: Vec<DeviceUID>,
},
GetEndpointResponderListChange {
endpoint_id: EndpointId,
list_change_number: u32,
},
GetBindingControlFields {
endpoint_id: EndpointId,
uid: DeviceUID,
control_field: u16,
binding_uid: DeviceUID,
},
GetBackgroundQueuedStatusPolicy {
current_policy_id: u8,
policy_count: u8,
},
GetBackgroundQueuedStatusPolicyDescription {
policy_id: u8,
description: String,
},
GetComponentScope {
scope_slot: u16,
scope_string: String,
static_config_type: StaticConfigType,
static_ipv4_address: Ipv4Address,
static_ipv6_address: Ipv6Address,
static_port: u16,
},
GetSearchDomain(String),
GetTcpCommsStatus {
scope_string: String,
broker_ipv4_address: Ipv4Address,
broker_ipv6_address: Ipv6Address,
broker_port: u16,
unhealthy_tcp_events: u16,
},
GetBrokerStatus {
is_allowing_set_commands: bool,
broker_state: BrokerState,
},
ManufacturerSpecific(Vec<u8>),
Unsupported(Vec<u8>),
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
DiscMute
DiscUnMute
GetProxiedDeviceCount
GetProxiedDevices(Vec<DeviceUID>)
GetCommsStatus
GetStatusMessages(Vec<StatusMessage>)
GetStatusIdDescription(String)
GetSubDeviceIdStatusReportThreshold(StatusType)
GetSupportedParameters(Vec<u16>)
GetParameterDescription(ParameterDescription)
GetDeviceInfo
GetProductDetailIdList(Vec<ProductDetail>)
GetDeviceModelDescription(String)
GetManufacturerLabel(String)
GetDeviceLabel(String)
GetFactoryDefaults(bool)
GetLanguageCapabilities(Vec<String>)
GetLanguage(String)
GetSoftwareVersionLabel(String)
GetBootSoftwareVersionId(u32)
GetBootSoftwareVersionLabel(String)
GetDmxPersonality
GetDmxPersonalityDescription
GetDmxStartAddress(u16)
GetSlotInfo(Vec<SlotInfo>)
GetSlotDescription
GetDefaultSlotValue(Vec<DefaultSlotValue>)
GetSensorDefinition(SensorDefinition)
GetSensorValue(SensorValue)
SetSensorValue(SensorValue)
GetDeviceHours(u32)
GetLampHours(u32)
GetLampStrikes(u32)
GetLampState(LampState)
GetLampOnMode(LampOnMode)
GetDevicePowerCycles(u32)
GetDisplayInvert(DisplayInvertMode)
GetDisplayLevel(u8)
GetPanInvert(bool)
GetTiltInvert(bool)
GetPanTiltSwap(bool)
GetRealTimeClock
GetIdentifyDevice(bool)
GetPowerState(PowerState)
GetPerformSelfTest(bool)
GetSelfTestDescription
GetPresetPlayback
GetDmxBlockAddress
GetDmxFailMode
GetDmxStartupMode
GetPowerOnSelfTest(bool)
GetLockState
GetLockStateDescription
GetLockPin(PinCode)
GetBurnIn(u8)
GetDimmerInfo
Fields
GetMinimumLevel
GetMaximumLevel(u16)
GetCurve
GetCurveDescription
GetOutputResponseTime
GetOutputResponseTimeDescription
GetModulationFrequency
GetModulationFrequencyDescription
GetPresetInfo
Fields
§
minimum_dmx_fail_delay_time_supported: SupportedTimes
§
maximum_dmx_fail_delay_time_supported: SupportedTimes
§
minimum_dmx_fail_hold_time_supported: SupportedTimes
§
maximum_dmx_fail_hold_time_supported: SupportedTimes
§
minimum_startup_delay_time_supported: SupportedTimes
§
maximum_startup_delay_time_supported: SupportedTimes
§
minimum_startup_hold_time_supported: SupportedTimes
§
maximum_startup_hold_time_supported: SupportedTimes
GetPresetStatus
Fields
§
programmed: PresetProgrammed
GetPresetMergeMode(MergeMode)
GetListInterfaces(Vec<NetworkInterface>)
GetInterfaceLabel
GetInterfaceHardwareAddressType1
GetIpV4DhcpMode
GetIpV4ZeroConfMode
GetIpV4CurrentAddress
GetIpV4StaticAddress
GetIpV4DefaultRoute
GetDnsIpV4NameServer
GetDnsHostName(String)
GetDnsDomainName(String)
GetEndpointList
GetEndpointListChange
GetIdentifyEndpoint
SetIdentifyEndpoint
Fields
§
endpoint_id: EndpointId
GetEndpointToUniverse
SetEndpointToUniverse
Fields
§
endpoint_id: EndpointId
GetEndpointMode
SetEndpointMode
Fields
§
endpoint_id: EndpointId
GetEndpointLabel
SetEndpointLabel
Fields
§
endpoint_id: EndpointId
GetRdmTrafficEnable
SetRdmTrafficEnable
Fields
§
endpoint_id: EndpointId
GetDiscoveryState
SetDiscoveryState
Fields
§
endpoint_id: EndpointId
GetBackgroundDiscovery
SetBackgroundDiscovery
Fields
§
endpoint_id: EndpointId
GetEndpointTiming
SetEndpointTiming
Fields
§
endpoint_id: EndpointId
GetEndpointTimingDescription
GetEndpointResponders
GetEndpointResponderListChange
GetBindingControlFields
GetBackgroundQueuedStatusPolicy
GetBackgroundQueuedStatusPolicyDescription
GetComponentScope
Fields
§
static_config_type: StaticConfigType
§
static_ipv4_address: Ipv4Address
§
static_ipv6_address: Ipv6Address
GetSearchDomain(String)
GetTcpCommsStatus
GetBrokerStatus
ManufacturerSpecific(Vec<u8>)
Unsupported(Vec<u8>)
Implementations§
Source§impl ResponseParameterData
impl ResponseParameterData
pub fn encode(&self) -> EncodedParameterData
pub fn decode( command_class: CommandClass, parameter_id: ParameterId, bytes: &[u8], ) -> Result<Self, RdmError>
Trait Implementations§
Source§impl Clone for ResponseParameterData
impl Clone for ResponseParameterData
Source§fn clone(&self) -> ResponseParameterData
fn clone(&self) -> ResponseParameterData
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 ResponseParameterData
impl Debug for ResponseParameterData
Source§impl PartialEq for ResponseParameterData
impl PartialEq for ResponseParameterData
impl StructuralPartialEq for ResponseParameterData
Auto Trait Implementations§
impl Freeze for ResponseParameterData
impl RefUnwindSafe for ResponseParameterData
impl Send for ResponseParameterData
impl Sync for ResponseParameterData
impl Unpin for ResponseParameterData
impl UnwindSafe for ResponseParameterData
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