pub(crate) fn initial_state(&self) -> ConnectionState {
        match self.conn_type {
            ConnectionType::Client => ConnectionState::ClientSendHandshake,
            _ => ConnectionState::ServerWaitHandshake(std::time::SystemTime::now()),
        }
    }
/// Get the initial state machine state of this connection
Get the initial state machine state of this connection
Get the initial state machine state of this connection
pub(crate) fn initial_state(&self) -> ConnectionState {
        match self.conn_type {
            ConnectionType::Client => ConnectionState::ClientSendHandshake,
            _ => ConnectionState::ServerWaitHandshake(std::time::SystemTime::now()),
        }
    }
pub ( crate ) fn initial_state ( & self ) -> ConnectionState { match self . conn_type { ConnectionType :: Client => ConnectionState :: ClientSendHandshake , _ => ConnectionState :: ServerWaitHandshake ( std :: time :: SystemTime :: now ( ) ) , } }
Get the initial state machine state of this connection
Get the initial state machine state of this connection
&self
&self