Enum tungstenite::protocol::frame::coding::Data [] [src]

pub enum Data {
    Continue,
    Text,
    Binary,
    Reserved(u8),
}

Data opcodes as in RFC 6455

Variants

0x0 denotes a continuation frame

0x1 denotes a text frame

0x2 denotes a binary frame

0x3-7 are reserved for further non-control frames

Trait Implementations

impl Debug for Data
[src]

Formats the value using the given formatter.

impl PartialEq for Data
[src]

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

This method tests for !=.

impl Eq for Data
[src]

impl Clone for Data
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Data
[src]

impl Display for Data
[src]

Formats the value using the given formatter. Read more