pub fn is_connected(&mut self) -> bool {
        match self.get_cur_status() {
            ClientState::Running => true,
            _ => false,
        }
    }
/// Returns whether we are connected to the server or not
Returns whether we are connected to the server or not
Returns whether we are connected to the server or not
pub fn is_connected(&mut self) -> bool {
        match self.get_cur_status() {
            ClientState::Running => true,
            _ => false,
        }
    }
pub fn is_connected ( & mut self ) -> bool { match self . get_cur_status ( ) { ClientState :: Running => true , _ => false , } }
Returns whether we are connected to the server or not
Returns whether we are connected to the server or not
&mut self