pub fn metadata_bytes(meta: &Metadata) -> usizeExpand description
The serialized JSON size of meta, in bytes. Returns usize::MAX if the
map somehow fails to serialize (it never should — Metadata is always
valid JSON), so a serialization hiccup fails a size check closed rather
than silently passing an unmeasured payload.