Available on crate feature experimental-derive only.
Expand description

Compile time max-serialization size calculation

Traits

  • This trait is used to enforce the maximum size required to store the serialization of a given type.

Derive Macros

  • Derive the postcard::MaxSize trait for a struct or enum.