Trait Write
minicbor::encode::write
pub trait Write { type Error; fn write_all(&mut self, buf: &[u8]) -> Result<(), Self::Error>; }
A type that accepts byte slices for writing.
type Error
fn write_all(&mut self, buf: &[u8]) -> Result<(), Self::Error>
Write the whole byte slice.
impl<W: Write> Write for W
type Error = Error
fn write_all(&mut self, buf: &[u8]) -> Result<()>