pub struct ServerStateInner { /* private fields */ }Implementations§
Source§impl ServerStateInner
impl ServerStateInner
pub fn is_process_ready(&self) -> bool
pub fn get_game_session_id(&self) -> Option<GameSessionId>
pub fn get_termination_time(&self) -> Option<TerminationTimeType>
pub async fn on_start_game_session(&self, game_session: GameSession)
pub async fn on_terminate_process(&self, termination_time: i64)
pub async fn on_update_game_session( &self, game_session: GameSession, update_reason: UpdateReason, backfill_ticket_id: String, )
pub async fn report_health(&self)
Trait Implementations§
Source§impl Default for ServerStateInner
impl Default for ServerStateInner
Source§fn default() -> ServerStateInner
fn default() -> ServerStateInner
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for ServerStateInner
impl !RefUnwindSafe for ServerStateInner
impl Send for ServerStateInner
impl Sync for ServerStateInner
impl Unpin for ServerStateInner
impl !UnwindSafe for ServerStateInner
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