pub enum ClientLogicPhase {
RequestConnect,
RequestDownloadState {
download_state_request_id: u8,
},
DownloadingState(TickId),
SendPredictedSteps,
}
Expand description
Represents the various phases of the client logic.
Variants§
RequestConnect
Request Connect (agreeing on abilities, such as version)
RequestDownloadState
Requesting a download of the game state.
DownloadingState(TickId)
Downloading the game state from the host.
SendPredictedSteps
Sending predicted steps from the client to the host.
Trait Implementations§
Source§impl Debug for ClientLogicPhase
impl Debug for ClientLogicPhase
Source§impl PartialEq for ClientLogicPhase
impl PartialEq for ClientLogicPhase
impl Eq for ClientLogicPhase
impl StructuralPartialEq for ClientLogicPhase
Auto Trait Implementations§
impl Freeze for ClientLogicPhase
impl RefUnwindSafe for ClientLogicPhase
impl Send for ClientLogicPhase
impl Sync for ClientLogicPhase
impl Unpin for ClientLogicPhase
impl UnwindSafe for ClientLogicPhase
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