Module rmp_serde::encode [] [src]

Structs

Compound
Serializer

Represents MessagePack serialization implementation.

StructArrayWriter

Writes struct as MessagePack array with no field names

StructMapWriter

Enums

Error

Traits

VariantWriter

Functions

to_vec

Serialize the given data structure as a MessagePack byte vector. This method uses compact representation, structs are serialized as arrays

to_vec_named

Serializes data structure into byte vector as a map Resulting MessagePack message will contain field names

write

Serialize the given data structure as MessagePack into the I/O stream. This fyunction uses compact representation - structures as arrays

write_named

Serialize the given data structure as MessagePack into the I/O stream. This function serializes structures as maps