pub async fn read_all_lines(&self) -> Result<Vec<String>> {
        let data = take_cursor(&mut *self.write.lock().await);
        Ok(String::from_utf8(data)
            .map_err(|err| Error::new(ErrorKind::Other, err))?
            .lines()
            .map(|s| format!("{}\r\n", s))
            .collect())
    }
/// Read all of the lines written via `AsyncWrite`
Read all of the lines written via `AsyncWrite`
Read all of the lines written via ` AsyncWrite `
pub async fn read_all_lines(&self) -> Result<Vec<String>> {
        let data = take_cursor(&mut *self.write.lock().await);
        Ok(String::from_utf8(data)
            .map_err(|err| Error::new(ErrorKind::Other, err))?
            .lines()
            .map(|s| format!("{}\r\n", s))
            .collect())
    }
pub async fn read_all_lines ( & self ) -> Result < Vec < String > > { let data = take_cursor ( & mut * self . write . lock ( ) . await ) ; Ok ( String :: from_utf8 ( data ) . map_err ( | err | Error :: new ( ErrorKind :: Other , err ) ) ? . lines ( ) . map ( | s | format ! ( " \r \n " s ) ) . collect ( ) ) }
Read all of the lines written via `AsyncWrite`
Read all of the lines written via ` AsyncWrite `
&self
&self