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
Continue
Indicates a continuation frame of a fragmented message.
Text
Indicates a text data frame.
Binary
Indicates a binary data frame.
Close
Indicates a close control frame.
Ping
Indicates a ping control frame.
Pong
Indicates a pong control frame.
Bad
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
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more