Enum nimble_rust::client::ClientPhase
source · pub enum ClientPhase<GameT, StepT>where
GameT: SeerCallback<AuthoritativeStep<StepT>> + AssentCallback<AuthoritativeStep<StepT>> + RectifyCallback,
StepT: Clone + Deserialize + Serialize + Debug,{
Connecting(ConnectingClient),
Connected(ClientLogic<GameT, StepT>),
}
Variants§
Connecting(ConnectingClient)
Connected(ClientLogic<GameT, StepT>)
Trait Implementations§
source§impl<GameT, StepT> Debug for ClientPhase<GameT, StepT>where
GameT: Debug + SeerCallback<AuthoritativeStep<StepT>> + AssentCallback<AuthoritativeStep<StepT>> + RectifyCallback,
StepT: Debug + Clone + Deserialize + Serialize,
impl<GameT, StepT> Debug for ClientPhase<GameT, StepT>where
GameT: Debug + SeerCallback<AuthoritativeStep<StepT>> + AssentCallback<AuthoritativeStep<StepT>> + RectifyCallback,
StepT: Debug + Clone + Deserialize + Serialize,
Auto Trait Implementations§
impl<GameT, StepT> Freeze for ClientPhase<GameT, StepT>
impl<GameT, StepT> RefUnwindSafe for ClientPhase<GameT, StepT>where
GameT: RefUnwindSafe,
StepT: RefUnwindSafe,
impl<GameT, StepT> Send for ClientPhase<GameT, StepT>
impl<GameT, StepT> Sync for ClientPhase<GameT, StepT>
impl<GameT, StepT> Unpin for ClientPhase<GameT, StepT>
impl<GameT, StepT> UnwindSafe for ClientPhase<GameT, StepT>where
GameT: UnwindSafe,
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