pub enum SocketMessageDestination {
All,
Client(String),
Room(String),
ResponseToMsg(String),
AckToReliableMsg(String),
Server,
}Variants§
Trait Implementations§
Source§impl Clone for SocketMessageDestination
impl Clone for SocketMessageDestination
Source§fn clone(&self) -> SocketMessageDestination
fn clone(&self) -> SocketMessageDestination
Returns a duplicate 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 SocketMessageDestination
impl Debug for SocketMessageDestination
Source§impl<'de> Deserialize<'de> for SocketMessageDestination
impl<'de> Deserialize<'de> for SocketMessageDestination
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
Auto Trait Implementations§
impl Freeze for SocketMessageDestination
impl RefUnwindSafe for SocketMessageDestination
impl Send for SocketMessageDestination
impl Sync for SocketMessageDestination
impl Unpin for SocketMessageDestination
impl UnwindSafe for SocketMessageDestination
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