Enum actix_http::ws::OpCode [−][src]
pub enum OpCode { Continue, Text, Binary, Close, Ping, Pong, Bad, }
Expand description
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
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for OpCode
impl UnwindSafe for OpCode
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V