Enum tungstenite::protocol::frame::coding::Control
[−]
[src]
pub enum Control { Close, Ping, Pong, Reserved(u8), }
Control opcodes as in RFC 6455
Variants
Close
0x8 denotes a connection close
Ping
0x9 denotes a ping
Pong
0xa denotes a pong
Reserved(u8)
0xb-f are reserved for further control frames
Trait Implementations
impl Debug for Control
[src]
impl PartialEq for Control
[src]
fn eq(&self, __arg_0: &Control) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Control) -> bool
This method tests for !=
.
impl Eq for Control
[src]
impl Clone for Control
[src]
fn clone(&self) -> Control
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