/// Asserts that the client is currently waiting at a prompt for input.
Asserts that the client is currently waiting at a prompt for input.
Asserts that the client is currently waiting at a prompt for input .
pub async fn assert_prompt(&mut self) {
        assert!(
            self.buffer.starts_with("> "),
            "expected prompt, found: {}",
            self.buffer
        );
    }
pub async fn assert_prompt ( & mut self ) { assert ! ( self buffer starts_with ( " " ) " " self buffer ) ; }
Asserts that the client is currently waiting at a prompt for input.
Asserts that the client is currently waiting at a prompt for input .
&mut self