Enum tungstenite::protocol::frame::coding::Data
[−]
[src]
pub enum Data { Continue, Text, Binary, Reserved(u8), }
Data opcodes as in RFC 6455
Variants
Continue
0x0 denotes a continuation frame
Text
0x1 denotes a text frame
Binary
0x2 denotes a binary frame
Reserved(u8)
0x3-7 are reserved for further non-control frames
Trait Implementations
impl Debug for Data
[src]
impl PartialEq for Data
[src]
fn eq(&self, __arg_0: &Data) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Data) -> bool
This method tests for !=
.
impl Eq for Data
[src]
impl Clone for Data
[src]
fn clone(&self) -> Data
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