serde_cbor::ser

Trait 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>