Trait serde_cbor::ser::Write[][src]

pub trait Write: Sealed { }
[]

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

impl<W> Write for &mut W where
    W: Write
[src][]

type Error = W::Error

impl Write for Vec<u8>[src][]

type Error = Error

Implementors

impl<'a> Write for SliceWrite<'a>[src][+]

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