[][src]Module serde_cbor::de

Deserialization.

Structs

Deserializer

A Serde Deserializer of CBOR data.

IoRead

CBOR input source that reads from a std::io input stream.

MutSliceRead

A CBOR input source that reads from a slice of bytes, and can move data around internally to reassemble indefinite strings without the need of an allocated scratch buffer.

SliceRead

A CBOR input source that reads from a slice of bytes.

SliceReadFixed

A CBOR input source that reads from a slice of bytes using a fixed size scratch buffer.

StreamDeserializer

Iterator that deserializes a stream into multiple CBOR values.

Traits

Read

Trait used by the deserializer for iterating over input.

Functions

from_mut_slice

Decode a value from CBOR data in a mutable slice.

from_reader

Decodes a value from CBOR data in a reader.

from_slice

Decodes a value from CBOR data in a slice.

from_slice_with_scratch

Decode a value from CBOR data using a scratch buffer.