Trait postcard::experimental::max_size::MaxSize
source · pub trait MaxSize {
const POSTCARD_MAX_SIZE: usize;
}
Expand description
This trait is used to enforce the maximum size required to store the serialization of a given type.
Required Associated Constants§
sourceconst POSTCARD_MAX_SIZE: usize
const POSTCARD_MAX_SIZE: usize
The maximum possible size that the serialization of this type can have, in bytes.
Object Safety§
This trait is not object safe.