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