pub enum EnvelopeKind {
Hello,
Peer,
User,
StateSnapshot,
StatePatch,
LobbyMeta,
MemberMeta,
Ping,
Pong,
}Variants§
Trait Implementations§
Source§impl Clone for EnvelopeKind
impl Clone for EnvelopeKind
Source§fn clone(&self) -> EnvelopeKind
fn clone(&self) -> EnvelopeKind
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 EnvelopeKind
impl Debug for EnvelopeKind
Source§impl<'de> Deserialize<'de> for EnvelopeKind
impl<'de> Deserialize<'de> for EnvelopeKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for EnvelopeKind
Source§impl PartialEq for EnvelopeKind
impl PartialEq for EnvelopeKind
Source§impl Serialize for EnvelopeKind
impl Serialize for EnvelopeKind
impl StructuralPartialEq for EnvelopeKind
Auto Trait Implementations§
impl Freeze for EnvelopeKind
impl RefUnwindSafe for EnvelopeKind
impl Send for EnvelopeKind
impl Sync for EnvelopeKind
impl Unpin for EnvelopeKind
impl UnsafeUnpin for EnvelopeKind
impl UnwindSafe for EnvelopeKind
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