cbor_smol::serTrait Writer
source pub trait Writer {
type Error: Into<Error>;
// Required method
fn write_all(&mut self, buf: &[u8]) -> Result<(), Self::Error>;
}
The type of error returned when a write operation fails.
Attempts to write an entire buffer into this write.