pub trait Writer {
// Required methods
fn write_fmt(&mut self, fmt: Arguments<'_>) -> Result<()>;
fn write_all(&mut self, buf: &[u8]) -> Result<()>;
}Expand description
A trait that provides a subset of the std::io::Write functionality that is usable in no-std contexts.