Module rmp_serde::config

source ·
Expand description

Change MessagePack behavior with configuration wrappers.

Structs§

  • Config wrapper that overrides Serializer::is_human_readable and Deserializer::is_human_readable to return false.
  • The default serializer/deserializer configuration.
  • Config wrapper that overrides Serializer::is_human_readable and Deserializer::is_human_readable to return true.
  • Config wrapper, that overrides struct serialization by packing as a map with field names.
  • Config wrapper that overrides struct serlization by packing as a tuple without field names.

Enums§

  • When to encode [u8] as bytes rather than a sequence of integers. Serde without serde_bytes has trouble using bytes, and this is hack to force it. It may break some data types.

Traits§

  • Represents configuration that dicatates what the serializer does.