pub struct PollReply<'a> {
Show 29 fields pub ip_address: &'a [u8; 4], pub port: u16, pub firmware_version: u16, pub net_switch: u8, pub sub_switch: u8, pub oem: u16, pub ubea_version: u8, pub status1: u8, pub esta_manufacturer_code: ESTAManufacturerCode, pub short_name: &'a str, pub long_name: &'a str, pub node_report: &'a str, pub num_ports: u16, pub port_types: &'a [u8; 4], pub good_input: &'a [u8; 4], pub good_output_a: &'a [u8; 4], pub swin: &'a [u8; 4], pub swout: &'a [u8; 4], pub acn_priority: u8, pub sw_macro: u8, pub sw_remote: u8, pub style: u8, pub mac_address: &'a [u8; 6], pub bind_ip_address: &'a [u8; 4], pub bind_index: u8, pub status2: u8, pub good_output_b: &'a [u8; 4], pub status3: u8, pub default_responder_uid: &'a [u8; 6],
}

Fields

ip_address: &'a [u8; 4]port: u16firmware_version: u16net_switch: u8

Bits 14-8 of the 15 bit Port-Address are encoded into the bottom 7 bits of this field.

sub_switch: u8

Bits 7-4 of the 15 bit Port-Address are encoded into the bottom 4 bits of this field.

oem: u16

The Oem word describes the equipment vendor and the feature set available. Bit 15 high indicates extended features available.

ubea_version: u8

The firmware version of the User Bios Extension Area (UBEA) If the UBEA is not programmed, this field contains zero.

status1: u8

General Status register containing bit fields as follows: 7-6 Indicator state. 00 Indicator state unknown. 01 Indicators in Locate / Identify Mode. 10 Indicators in Mute Mode. 11 Indicators in Normal Mode. 5-4 Port-Address Programming Authority 00 Port-Address Programming Authority unknown. 01 All Port-Address set by front panel controls. 10 All or part of Port-Address programmed by network or Web browser. 11 Not used. 3 Not implemented, transmit as zero, receivers do not test. 2 0 = Normal firmware boot (from flash). Nodes that do not support dual boot, clear this field to zero. 1 = Booted from ROM. 1 0 = Not capable of Remote Device Management (RDM). 1 = Capable of Remote Device Management (RDM). 0 0 = UBEA not present or corrupt 1 = UBEA present

esta_manufacturer_code: ESTAManufacturerCodeshort_name: &'a str

Note: The spec specifies ASCII characters only

long_name: &'a str

Note: The spec specifies ASCII characters only

node_report: &'a str

Note: The spec specifies ASCII characters only

num_ports: u16port_types: &'a [u8; 4]good_input: &'a [u8; 4]good_output_a: &'a [u8; 4]swin: &'a [u8; 4]swout: &'a [u8; 4]acn_priority: u8sw_macro: u8sw_remote: u8style: u8mac_address: &'a [u8; 6]bind_ip_address: &'a [u8; 4]bind_index: u8status2: u8good_output_b: &'a [u8; 4]status3: u8default_responder_uid: &'a [u8; 6]

RDMnet & LLRP Default Responder UID

Implementations

Serializes the PollReply into the provided buffer.

Note: short name, long name and report will be truncated to 18, 64, and 64 bytes respectively

Trait Implementations

Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.