[][src]Module serde_cbor::ser

Serialize a Rust data structure to CBOR data.

Structs

IoWrite

A wrapper for types that implement std::io::Write to implement the local Write trait.

Serializer

A structure for serializing Rust values to CBOR.

SliceWrite

Implements Write for mutable byte slices (&mut [u8]).

Traits

Write

A sink for serialized CBOR.

Functions

to_vec

Serializes a value to a vector.

to_vec_packed

Serializes a value to a vector in packed format.

to_writer

Serializes a value to a writer.