Enum ggrs::SessionState [−][src]
pub enum SessionState { Initializing, Synchronizing, Running, }
Expand description
A session is always in one of these states. You can query the current state of a session via current_state()
.
Variants
When initializing, you must add all necessary players and start the session to continue.
When synchronizing, the session attempts to establish a connection to the remote clients.
When running, the session has synchronized and is ready to take and transmit player input.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SessionState
impl Send for SessionState
impl Sync for SessionState
impl Unpin for SessionState
impl UnwindSafe for SessionState
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V