Enum tungstenite::protocol::frame::coding::Control [−][src]
pub enum Control {
Close,
Ping,
Pong,
Reserved(u8),
}
Expand description
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)
Tuple Fields
0: u8
0xb-f are reserved for further control frames
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Control
impl UnwindSafe for Control
Blanket Implementations
Mutably borrows from an owned value. Read more