rmp_serde

Module encode

Source
Expand description

Serialize a Rust data structure into MessagePack data.

Structs§

Enums§

  • This type represents all possible errors that can occur when serializing or deserializing MessagePack data.

Traits§

Functions§

  • Serialize the given data structure as a MessagePack byte vector. This method uses compact representation, structs are serialized as arrays
  • Serializes data structure into byte vector as a map Resulting MessagePack message will contain field names
  • Serialize the given data structure as MessagePack into the I/O stream. This function uses compact representation - structures as arrays
  • Serialize the given data structure as MessagePack into the I/O stream. This function serializes structures as maps