pub enum ServerAction {
Presence,
System,
Broadcast,
Error,
Connect,
}Variants§
Trait Implementations§
Source§impl Clone for ServerAction
impl Clone for ServerAction
Source§fn clone(&self) -> ServerAction
fn clone(&self) -> ServerAction
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 ServerAction
impl Debug for ServerAction
Source§impl<'de> Deserialize<'de> for ServerAction
impl<'de> Deserialize<'de> for ServerAction
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
Source§impl PartialEq for ServerAction
impl PartialEq for ServerAction
Source§fn eq(&self, other: &ServerAction) -> bool
fn eq(&self, other: &ServerAction) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ServerAction
impl Serialize for ServerAction
impl Copy for ServerAction
impl Eq for ServerAction
impl StructuralPartialEq for ServerAction
Auto Trait Implementations§
impl Freeze for ServerAction
impl RefUnwindSafe for ServerAction
impl Send for ServerAction
impl Sync for ServerAction
impl Unpin for ServerAction
impl UnsafeUnpin for ServerAction
impl UnwindSafe for ServerAction
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