#[repr(u8)]pub enum CommandIdentifier {
Show 24 variants
ReadAttributes = 0,
ReadAttributesResponse = 1,
WriteAttributes = 2,
WriteAttributesUndivided = 3,
WriteAttributesResponse = 4,
WriteAttributesNoResponse = 5,
ConfigureReporting = 6,
ConfigureReportingResponse = 7,
ReadReportingConfiguration = 8,
ReadReportingConfigurationResponse = 9,
ReportAttributes = 10,
DefaultResponse = 11,
DiscoverAttributes = 12,
DiscoverAttributesResponse = 13,
ReadAttributesStructured = 14,
WriteAttributesStructured = 15,
WriteAttributesStructuredResponse = 16,
DiscoverCommandsReceived = 17,
DiscoverCommandsReceivedResponse = 18,
DiscoverCommandsGenerated = 19,
DiscoverCommandsGeneratedResponse = 20,
DiscoverAttributesExtended = 21,
DiscoverAttributesExtendedResponse = 22,
Reserved = 255,
}Expand description
Command Identifier.
See Section 2.4.1.4 (Values can be found in Table 2-3)
Variants§
ReadAttributes = 0
ReadAttributesResponse = 1
WriteAttributes = 2
WriteAttributesUndivided = 3
WriteAttributesResponse = 4
WriteAttributesNoResponse = 5
ConfigureReporting = 6
ConfigureReportingResponse = 7
ReadReportingConfiguration = 8
ReadReportingConfigurationResponse = 9
ReportAttributes = 10
DefaultResponse = 11
DiscoverAttributes = 12
DiscoverAttributesResponse = 13
ReadAttributesStructured = 14
WriteAttributesStructured = 15
WriteAttributesStructuredResponse = 16
DiscoverCommandsReceived = 17
DiscoverCommandsReceivedResponse = 18
DiscoverCommandsGenerated = 19
DiscoverCommandsGeneratedResponse = 20
DiscoverAttributesExtended = 21
DiscoverAttributesExtendedResponse = 22
Reserved = 255
Trait Implementations§
Source§impl Clone for CommandIdentifier
impl Clone for CommandIdentifier
Source§fn clone(&self) -> CommandIdentifier
fn clone(&self) -> CommandIdentifier
Returns a copy 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 CommandIdentifier
impl Debug for CommandIdentifier
Source§impl PartialEq for CommandIdentifier
impl PartialEq for CommandIdentifier
Source§impl TryRead<'_, Endian> for CommandIdentifier
impl TryRead<'_, Endian> for CommandIdentifier
Source§impl TryWrite<Endian> for CommandIdentifier
impl TryWrite<Endian> for CommandIdentifier
impl Copy for CommandIdentifier
impl Eq for CommandIdentifier
impl StructuralPartialEq for CommandIdentifier
Auto Trait Implementations§
impl Freeze for CommandIdentifier
impl RefUnwindSafe for CommandIdentifier
impl Send for CommandIdentifier
impl Sync for CommandIdentifier
impl Unpin for CommandIdentifier
impl UnwindSafe for CommandIdentifier
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