pub enum WsMessageKind {
Bytes(Vec<u8>),
Close,
Other,
}Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WsMessageKind
impl RefUnwindSafe for WsMessageKind
impl Send for WsMessageKind
impl Sync for WsMessageKind
impl Unpin for WsMessageKind
impl UnwindSafe for WsMessageKind
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