Skip to main content

Module max_size

Module max_size 

Source
Available on crate feature experimental-derive only.
Expand description

Compile time max-serialization size calculation

Traits§

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

Derive Macros§

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