Skip to main content

Crate zerompk

Crate zerompk 

Source

Enums§

Error
Tag
A tag read from a MessagePack stream, which can be either an integer or a string.

Traits§

FromMessagePack
A data structure that can be deserialized from MessagePack format.
FromMessagePackOwned
A trait for types that can be deserialized from MessagePack format without borrowing.
Read
A trait for reading values from a MessagePack-encoded input.
ToMessagePack
A data structure that can be serialized into MessagePack format.
Write
A trait for writing MessagePack-encoded data.

Functions§

from_msgpack
Deserializes a value of type T from a MessagePack-encoded byte slice.
read_msgpack
Deserializes a value of type T from the I/O stream.
to_msgpack
Serializes a value of type T into the provided buffer, returning the number of bytes written.
to_msgpack_vec
Serializes a value of type T into a Vec<u8> containing its MessagePack representation.
write_msgpack
Serializes a value of type T into the I/O stream.

Type Aliases§

Result