Enum actix_web::ws::OpCode[][src]

pub enum OpCode {
    Continue,
    Text,
    Binary,
    Close,
    Ping,
    Pong,
    Bad,
}

Operation codes as part of rfc6455.

Variants

Indicates a continuation frame of a fragmented message.

Indicates a text data frame.

Indicates a binary data frame.

Indicates a close control frame.

Indicates a ping control frame.

Indicates a pong control frame.

Indicates an invalid opcode was received.

Trait Implementations

impl Debug for OpCode
[src]

Formats the value using the given formatter. Read more

impl Eq for OpCode
[src]

impl PartialEq for OpCode
[src]

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

This method tests for !=.

impl Clone for OpCode
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for OpCode
[src]

impl Display for OpCode
[src]

Formats the value using the given formatter. Read more

impl Into<u8> for OpCode
[src]

Performs the conversion.

impl From<u8> for OpCode
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for OpCode

impl Sync for OpCode