#[repr(u8)]pub enum WsOpcode {
Continuation = 0,
Text = 1,
Binary = 2,
Close = 8,
Ping = 9,
Pong = 10,
}Expand description
WebSocket opcode.
Variants§
Implementations§
Trait Implementations§
impl Copy for WsOpcode
impl Eq for WsOpcode
impl StructuralPartialEq for WsOpcode
Auto Trait Implementations§
impl Freeze for WsOpcode
impl RefUnwindSafe for WsOpcode
impl Send for WsOpcode
impl Sync for WsOpcode
impl Unpin for WsOpcode
impl UnsafeUnpin for WsOpcode
impl UnwindSafe for WsOpcode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more