Struct lifx_core::ProtocolHeader [−][src]
Fields
reserved: u64
64 bits: Reserved
typ: u16
16 bits: Message type determines the payload being used
reserved2: u16
16 bits: Reserved
Methods
impl ProtocolHeader
[src]
impl ProtocolHeader
Trait Implementations
impl Debug for ProtocolHeader
[src]
impl Debug for ProtocolHeader
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for ProtocolHeader
[src]
impl Clone for ProtocolHeader
fn clone(&self) -> ProtocolHeader
[src]
fn clone(&self) -> ProtocolHeader
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for ProtocolHeader
[src]
impl Copy for ProtocolHeader
impl PartialEq for ProtocolHeader
[src]
impl PartialEq for ProtocolHeader
fn eq(&self, other: &ProtocolHeader) -> bool
[src]
fn eq(&self, other: &ProtocolHeader) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ProtocolHeader) -> bool
[src]
fn ne(&self, other: &ProtocolHeader) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for ProtocolHeader
impl Send for ProtocolHeader
impl Sync for ProtocolHeader
impl Sync for ProtocolHeader