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

pub enum Control {
    Close,
    Ping,
    Pong,
    Reserved(u8),
}

Control opcodes as in RFC 6455

Variants

0x8 denotes a connection close

0x9 denotes a ping

0xa denotes a pong

0xb-f are reserved for further control frames

Trait Implementations

impl Debug for Control
[src]

Formats the value using the given formatter.

impl PartialEq for Control
[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 Control
[src]

impl Clone for Control
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Control
[src]

impl Display for Control
[src]

Formats the value using the given formatter. Read more