pub struct ServerState { /* private fields */ }Implementations§
Source§impl ServerState
impl ServerState
pub async fn process_ready( &mut self, process_parameters: ProcessParameters, ) -> Result<(), GameLiftErrorType>
pub async fn process_ending(&self) -> Result<(), GameLiftErrorType>
pub async fn activate_game_session(&self) -> Result<(), GameLiftErrorType>
pub async fn terminate_game_session(&self) -> Result<(), GameLiftErrorType>
pub async fn get_game_session_id( &self, ) -> Result<GameSessionId, GameLiftErrorType>
pub async fn get_termination_time( &self, ) -> Result<TerminationTimeType, GameLiftErrorType>
pub async fn update_player_session_creation_policy( &self, player_session_policy: PlayerSessionCreationPolicy, ) -> Result<(), GameLiftErrorType>
pub async fn accept_player_session( &self, player_session_id: PlayerSessionId, ) -> Result<(), GameLiftErrorType>
pub async fn remove_player_session( &self, player_session_id: PlayerSessionId, ) -> Result<(), GameLiftErrorType>
pub async fn describe_player_sessions( &self, request: DescribePlayerSessionsRequest, ) -> Result<DescribePlayerSessionsResult, GameLiftErrorType>
pub async fn backfill_matchmaking( &self, request: StartMatchBackfillRequest, ) -> Result<StartMatchBackfillResult, GameLiftErrorType>
pub async fn stop_matchmaking( &self, request: StopMatchBackfillRequest, ) -> Result<(), GameLiftErrorType>
pub async fn initialize_networking(&mut self) -> Result<(), GameLiftErrorType>
pub async fn get_instance_certificate( &self, ) -> Result<GetInstanceCertificateResult, GameLiftErrorType>
pub async fn shutdown(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ServerState
impl !RefUnwindSafe for ServerState
impl Send for ServerState
impl Sync for ServerState
impl Unpin for ServerState
impl !UnwindSafe for ServerState
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