pub enum WsOpcode {
Continuation,
Text,
Binary,
Close,
Ping,
Pong,
}
Variants§
Implementations§
Source§impl WsOpcode
impl WsOpcode
pub fn frame_kind(self) -> WsFrameKind
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WsOpcode
impl RefUnwindSafe for WsOpcode
impl Send for WsOpcode
impl Sync for WsOpcode
impl Unpin 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