Trait serde_cbor::ser::Write

source ·
pub trait Write: Sealed { }
Expand description

A sink for serialized CBOR.

This trait is similar to the Write trait in the standard library, but has a smaller and more general API.

Any object implementing std::io::Write can be wrapped in an IoWrite that implements this trait for the underlying object.

Implementations on Foreign Types§

source§

impl Write for Vec<u8>

source§

impl<W> Write for &mut W
where W: Write,

Implementors§

source§

impl<'a> Write for SliceWrite<'a>

source§

impl<W: Write> Write for IoWrite<W>