Struct websocket::ws::util::header::DataFrameHeader [] [src]

pub struct DataFrameHeader {
    pub flags: DataFrameFlags,
    pub opcode: u8,
    pub mask: Option<[u8; 4]>,
    pub len: u64,
}

Represents a data frame header.

Fields

The bit flags for the first byte of the header.

The opcode of the header - must be <= 16.

The masking key, if any.

The length of the payload.

Trait Implementations

impl Debug for DataFrameHeader
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for DataFrameHeader
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for DataFrameHeader
[src]

impl PartialEq for DataFrameHeader
[src]

[src]

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

[src]

This method tests for !=.

Auto Trait Implementations