Enum tungstenite::protocol::frame::coding::OpCode
[−]
[src]
pub enum OpCode {
Data(Data),
Control(Control),
}WebSocket message opcode as in RFC 6455.
Variants
Data(Data)Control(Control)Trait Implementations
impl Debug for OpCode[src]
impl PartialEq for OpCode[src]
fn eq(&self, __arg_0: &OpCode) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &OpCode) -> bool
This method tests for !=.
impl Eq for OpCode[src]
impl Clone for OpCode[src]
fn clone(&self) -> OpCode
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more