Function into_writer

Source
pub fn into_writer<T, W>(
    value: &T,
    writer: W,
) -> Result<(), Error<<W as Write>::Error>>
where T: Serialize + ?Sized, W: Write, <W as Write>::Error: Debug,
Expand description

Serializes as CBOR into a type with impl ciborium_io::Write