Trait exar::WriteLine [] [src]

pub trait WriteLine {
    fn write_line(&mut self, line: &str) -> Result<usize>;
}

A trait for writing a line into a stream.

Required Methods

fn write_line(&mut self, line: &str) -> Result<usize>

Writes a string slice into this writer by appending a new line at the end of it, returning whether the write succeeded.

Implementors