pub enum ClientToHostCommands<StepT>{
JoinGameType(JoinGameRequest),
Steps(StepsRequest<StepT>),
DownloadGameState(DownloadGameStateRequest),
BlobStreamChannel(ReceiverToSenderFrontCommands),
}
Variants§
JoinGameType(JoinGameRequest)
Steps(StepsRequest<StepT>)
DownloadGameState(DownloadGameStateRequest)
BlobStreamChannel(ReceiverToSenderFrontCommands)
Implementations§
source§impl<StepT> ClientToHostCommands<StepT>
impl<StepT> ClientToHostCommands<StepT>
Trait Implementations§
source§impl<StepT> Clone for ClientToHostCommands<StepT>
impl<StepT> Clone for ClientToHostCommands<StepT>
source§fn clone(&self) -> ClientToHostCommands<StepT>
fn clone(&self) -> ClientToHostCommands<StepT>
Returns a copy 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 for ClientToHostCommands<StepT>
impl<StepT> Debug for ClientToHostCommands<StepT>
source§impl<StepT> Deserialize for ClientToHostCommands<StepT>
impl<StepT> Deserialize for ClientToHostCommands<StepT>
fn deserialize( stream: &mut impl ReadOctetStream, ) -> Result<ClientToHostCommands<StepT>, Error>
source§impl<StepT> Display for ClientToHostCommands<StepT>
impl<StepT> Display for ClientToHostCommands<StepT>
source§impl<StepT> Serialize for ClientToHostCommands<StepT>
impl<StepT> 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)