Enum ratchet_rs::OpCode
source · [−]pub enum OpCode {
Continuation,
Text,
Binary,
}
Expand description
A data code for a frame.
Variants
Continuation
The message is a continuation.
Text
The message is text.
Binary
The message is binary.
Implementations
Trait Implementations
impl Copy for OpCode
impl StructuralPartialEq for OpCode
Auto Trait Implementations
impl RefUnwindSafe for OpCode
impl Send for OpCode
impl Sync for OpCode
impl Unpin for OpCode
impl UnwindSafe for OpCode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more