pub fn line(reader: impl BufRead, writer: &mut impl Write) -> Result<bool>
Read one line from reader and write it to writer, followed by a newline.
reader
writer
Returns true if a line was read, false on EOF.
true
false