pub enum ClientToHostCommands<StepT: Clone + Debug + Serialize + Deserialize + Display> {
    JoinGameType(JoinGameRequest),
    Steps(StepsRequest<StepT>),
    DownloadGameState(DownloadGameStateRequest),
    BlobStreamChannel(ReceiverToSenderFrontCommands),
    ConnectType(ConnectRequest),
    Ping(u16),
}Variants§
JoinGameType(JoinGameRequest)
Steps(StepsRequest<StepT>)
DownloadGameState(DownloadGameStateRequest)
BlobStreamChannel(ReceiverToSenderFrontCommands)
ConnectType(ConnectRequest)
Ping(u16)
Trait Implementations§
Source§impl<StepT: Clone + Clone + Debug + Serialize + Deserialize + Display> Clone for ClientToHostCommands<StepT>
 
impl<StepT: Clone + Clone + Debug + Serialize + Deserialize + Display> Clone for ClientToHostCommands<StepT>
Source§fn clone(&self) -> ClientToHostCommands<StepT>
 
fn clone(&self) -> ClientToHostCommands<StepT>
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<StepT: Debug + Clone + Debug + Serialize + Deserialize + Display> Debug for ClientToHostCommands<StepT>
 
impl<StepT: Debug + Clone + Debug + Serialize + Deserialize + Display> Debug for ClientToHostCommands<StepT>
Source§impl<StepT: Clone + Debug + Serialize + Deserialize + Display> Deserialize for ClientToHostCommands<StepT>
 
impl<StepT: Clone + Debug + Serialize + Deserialize + Display> Deserialize for ClientToHostCommands<StepT>
fn deserialize(stream: &mut impl ReadOctetStream) -> Result<Self>
Source§impl<StepT: Clone + Debug + Eq + PartialEq + Serialize + Deserialize + Display> Display for ClientToHostCommands<StepT>
 
impl<StepT: Clone + Debug + Eq + PartialEq + Serialize + Deserialize + Display> Display for ClientToHostCommands<StepT>
Source§impl<StepT: Deserialize + Serialize + Debug + Display + Clone> From<&ClientToHostCommands<StepT>> for u8
 
impl<StepT: Deserialize + Serialize + Debug + Display + Clone> From<&ClientToHostCommands<StepT>> for u8
Source§fn from(command: &ClientToHostCommands<StepT>) -> Self
 
fn from(command: &ClientToHostCommands<StepT>) -> Self
Converts to this type from the input type.
Source§impl<StepT: Clone + Debug + Serialize + Deserialize + Display> Serialize for ClientToHostCommands<StepT>
 
impl<StepT: Clone + Debug + Serialize + Deserialize + Display> Serialize for ClientToHostCommands<StepT>
Auto Trait Implementations§
impl<StepT> Freeze for ClientToHostCommands<StepT>
impl<StepT> RefUnwindSafe for ClientToHostCommands<StepT>where
    StepT: RefUnwindSafe,
impl<StepT> Send for ClientToHostCommands<StepT>where
    StepT: Send,
impl<StepT> Sync for ClientToHostCommands<StepT>where
    StepT: Sync,
impl<StepT> Unpin for ClientToHostCommands<StepT>where
    StepT: Unpin,
impl<StepT> UnwindSafe for ClientToHostCommands<StepT>where
    StepT: UnwindSafe,
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