pub enum WsMessageKind {
Binary,
Text,
}
Variants§
Implementations§
Source§impl WsMessageKind
impl WsMessageKind
pub fn frame_kind(&self) -> WsDataFrameKind
Trait Implementations§
Source§impl Clone for WsMessageKind
impl Clone for WsMessageKind
Source§fn clone(&self) -> WsMessageKind
fn clone(&self) -> WsMessageKind
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for WsMessageKind
impl Debug for WsMessageKind
impl Copy for WsMessageKind
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