pub fn read_line<'buf>(&mut self,
                           buffer: &'buf mut String)
                           -> Option<io::Result<(&'buf mut String, usize)>>
    {
        buffer.clear();

        self.reader
            .read_line(buffer)
            .map(|u| if u == 0 { None } else { Some((buffer, u)) })
            .transpose()
    }
/// Reads a line from the buffer reader to mutable string
Reads a line from the buffer reader to mutable string
Reads a line from the buffer reader to mutable string
pub fn read_line<'buf>(&mut self,
                           buffer: &'buf mut String)
                           -> Option<io::Result<(&'buf mut String, usize)>>
    {
        buffer.clear();
        self.reader
            .read_line(buffer)
            .map(|u| if u == 0 { None } else { Some((buffer, u)) })
            .transpose()
    }
pub fn read_line < ' buf > ( & mut self , buffer : & ' buf mut String ) -> Option < io :: Result < ( & ' buf mut String , usize ) > > { buffer . clear ( ) ; self . reader . read_line ( buffer ) . map ( | u | if u == 0 { None } else { Some ( ( buffer , u ) ) } ) . transpose ( ) }
Reads a line from the buffer reader to mutable string
Reads a line from the buffer reader to mutable string
&mut self
buffer
&'buf mut String
&mut self
buffer
&'buf mut String