Struct lifx_core::ProtocolHeader[][src]

pub struct ProtocolHeader {
    pub reserved: u64,
    pub typ: u16,
    pub reserved2: u16,
}

Fields

64 bits: Reserved

16 bits: Message type determines the payload being used

16 bits: Reserved

Methods

impl ProtocolHeader
[src]

Packs this part of the packet into some bytes

Trait Implementations

impl Debug for ProtocolHeader
[src]

Formats the value using the given formatter. Read more

impl Clone for ProtocolHeader
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for ProtocolHeader
[src]

impl PartialEq for ProtocolHeader
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations