Struct log_writer::LogWriter [−][src]
pub struct LogWriter { /* fields omitted */ }
Expand description
Writes a stream to disk while adhering to the usage limits described in cfg
.
When write()
is called, the LogWriter will attempt to ensure enough space is
available to write the new contents. In some cases, where no more space can be
freed, ENOSPC
may be returned.
Implementations
Trait Implementations
Write a buffer into this writer, returning how many bytes were written. Read more
Flush this output stream, ensuring that all intermediately buffered contents reach their destination. Read more
🔬 This is a nightly-only experimental API. (
can_vector
)Determines if this Write
r has an efficient write_vectored
implementation. Read more
Attempts to write an entire buffer into this writer. Read more
🔬 This is a nightly-only experimental API. (
write_all_vectored
)Attempts to write multiple buffers into this writer. Read more
Writes a formatted string into this writer, returning any error encountered. Read more
Auto Trait Implementations
impl RefUnwindSafe for LogWriter
impl UnwindSafe for LogWriter