pub trait OutputWriter {
// Required methods
fn write_all(&mut self, buf: &[u8]) -> OutputResult<()>;
fn write_fmt(&mut self, args: Arguments<'_>) -> OutputResult<()>;
}Required Methods§
fn write_all(&mut self, buf: &[u8]) -> OutputResult<()>
fn write_fmt(&mut self, args: Arguments<'_>) -> OutputResult<()>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl<T: Write> OutputWriter for T
Available on crate feature
std only.