Enum stream_ws::WsMessageKind
source · pub enum WsMessageKind {
Bytes(Vec<u8>),
Close,
Other,
}
Variants§
Trait Implementations§
Auto Trait Implementations§
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