Struct log4rs::encode::writer::SimpleWriter
[−]
[src]
pub struct SimpleWriter<W>(pub W);
An encode::Writer that simply delegates to an io::Writer and relies
on the default implementations of encode::Writer methods.
Trait Implementations
impl<W: Debug> Debug for SimpleWriter<W>[src]
impl<W: Write> Write for SimpleWriter<W>[src]
fn write(&mut self, buf: &[u8]) -> Result<usize>
Write a buffer into this object, returning how many bytes were written. Read more
fn flush(&mut self) -> Result<()>
Flush this output stream, ensuring that all intermediately buffered contents reach their destination. Read more
fn write_all(&mut self, buf: &[u8]) -> Result<()>
Attempts to write an entire buffer into this write. Read more
fn write_fmt(&mut self, fmt: Arguments) -> Result<()>
Writes a formatted string into this writer, returning any error encountered. Read more
fn by_ref(&mut self) -> &mut Self1.0.0
Creates a "by reference" adaptor for this instance of Write. Read more