Trait lrs::prelude::v1::BufWrite

Objects that wrap a byte-stream for writing and contain a buffer.

Syntax

trait BufWrite : Write {
    /* Required methods */
    fn read_to_eof<R>(&mut self, r: R) -> Result<usize, Errno>
        where R: Read,
}

Methods

ReceiverNameDescription
&mut selfread_to_eof

Reads bytes from a Read object and writes them to the stream until end-of-file.