#[non_exhaustive]pub enum ConnectionStage {
ConnectingLogin,
Authenticating,
SelectingServer,
ConnectingWorld,
SelectingCharacter,
ConnectingZone,
LoadingCharacter,
EnteringWorld,
Ready,
}Expand description
Ordered connection milestones, from the start of an attempt to zone admission. These describe completed protocol work, not elapsed time or packet counts.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ConnectingLogin
Opening the login-server transport.
Authenticating
Sending credentials and waiting for authentication.
SelectingServer
Requesting and selecting the configured world.
ConnectingWorld
Opening and authenticating the world-server transport.
SelectingCharacter
Requesting and selecting the configured character.
ConnectingZone
Opening the assigned zone-server transport.
LoadingCharacter
Receiving character and zone initialization data.
EnteringWorld
Completing final zone admission acknowledgements.
Ready
Character is active and chat commands can be sent.
Trait Implementations§
Source§impl Clone for ConnectionStage
impl Clone for ConnectionStage
Source§fn clone(&self) -> ConnectionStage
fn clone(&self) -> ConnectionStage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ConnectionStage
Source§impl Debug for ConnectionStage
impl Debug for ConnectionStage
impl Eq for ConnectionStage
Source§impl PartialEq for ConnectionStage
impl PartialEq for ConnectionStage
Source§impl Serialize for ConnectionStage
impl Serialize for ConnectionStage
impl StructuralPartialEq for ConnectionStage
Auto Trait Implementations§
impl Freeze for ConnectionStage
impl RefUnwindSafe for ConnectionStage
impl Send for ConnectionStage
impl Sync for ConnectionStage
impl Unpin for ConnectionStage
impl UnsafeUnpin for ConnectionStage
impl UnwindSafe for ConnectionStage
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