pub trait WriteSimple { type Error: Debug; // Required method fn write_all_simple(&mut self, buf: &[u8]) -> Result<(), Self::Error>; }
A simple write trait suitable for embedded devices.
The error type used by this reader.
Write all the bytes in buf.
buf
Upon returning an error, the number of bytes written is undefined.