pub enum WsMessageKind {
Log,
Error,
}Variants§
Trait Implementations§
Source§impl Clone for WsMessageKind
impl Clone for WsMessageKind
Source§fn clone(&self) -> WsMessageKind
fn clone(&self) -> WsMessageKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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
Source§impl JsJsonDeserialize for WsMessageKind
impl JsJsonDeserialize for WsMessageKind
fn from_json(ctx: JsJsonContext, json: JsJson) -> Result<Self, JsJsonContext>
Source§impl JsJsonSerialize for WsMessageKind
impl JsJsonSerialize for WsMessageKind
Source§impl PartialEq for WsMessageKind
impl PartialEq for WsMessageKind
Source§fn eq(&self, other: &WsMessageKind) -> bool
fn eq(&self, other: &WsMessageKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq 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 UnsafeUnpin 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