Enum tungstenite::protocol::frame::coding::Data [−][src]
pub enum Data { Continue, Text, Binary, Reserved(u8), }
Data opcodes as in RFC 6455
Variants
0x0 denotes a continuation frame
0x1 denotes a text frame
0x2 denotes a binary frame
Reserved(u8)
0x3-7 are reserved for further non-control frames
Trait Implementations
impl Clone for Data
[src][+]
impl Copy for Data
[src]
impl Debug for Data
[src][+]
impl Display for Data
[src][+]
impl Eq for Data
[src]
impl PartialEq<Data> for Data
[src][+]
impl StructuralEq for Data
[src]
impl StructuralPartialEq for Data
[src]
Auto Trait Implementations
impl RefUnwindSafe for Data
impl Send for Data
impl Sync for Data
impl Unpin for Data
impl UnwindSafe for Data
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T> ToString for T where
T: Display + ?Sized,
[src][+]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src][+]
V: MultiLane<T>,