Trait minicbor::encode::write::Write[][src]

pub trait Write {
    type Error;
    fn write_all(&mut self, buf: &[u8]) -> Result<(), Self::Error>;
}

A type that accepts byte slices for writing.

Associated Types

Loading content...

Required methods

fn write_all(&mut self, buf: &[u8]) -> Result<(), Self::Error>[src]

Write the whole byte slice.

Loading content...

Implementors

impl<W: Write> Write for W[src]

type Error = Error

Loading content...