// Consumes the first line of output, returning it.
Consumes the first line of output, returning it.
Consumes the first line of output returning it .
async fn read_line(&mut self) -> String {
        if self.output.is_empty() {
            self.recv().await
        }
        assert!(
            self.output.front().is_some(),
            "expected value, found no output. Did you forget to consume a prompt?"
        );
        let line = self.output.pop_front().unwrap();
        tracing::info!("reading output line: {}", line.as_str());
        line
    }
async fn read_line ( & mut self ) -> String { if self . output . is_empty ( ) { self . recv ( ) . await } assert ! ( self output front ( ) is_some ( ) " " ) ; let line = self . output . pop_front ( ) . unwrap ( ) ; tracing :: info ! ( " " line as_str ( ) ) ; line }
Consumes the first line of output, returning it.
Consumes the first line of output returning it .
&mut self