1
 2
 3
 4
 5
 6
 7
 8
 9
10
use basws_shared::{protocol::InstallationConfig, Uuid};
use std::fmt::Debug;

#[derive(Debug, Clone)]
pub enum LoginState {
    Disconnected,
    Handshaking { config: Option<InstallationConfig> },
    Connected { installation_id: Uuid },
    Error { message: Option<String> },
}