Module decode

Source
Expand description

Generic MessagePack deserialization.

Structs§

Deserializer
A Deserializer that reads bytes from a buffer.
ReadReader
Owned reader wrapper.
ReadRefReader
Borrowed reader wrapper.

Enums§

Error
Enum representing errors that can occur while decoding MessagePack data.
Reference
Unification of both borrowed and non-borrowed reference types.

Traits§

ReadSlice
Extends the Read trait by allowing to read slices directly by borrowing bytes.

Functions§

from_read
Deserialize an instance of type T from an I/O stream of MessagePack.
from_slice
Deserialize a temporary scope-bound instance of type T from a slice, with zero-copy if possible.