pub fn encode_snapshot(snapshot: &TaskSnapshot) -> BytesExpand description
Encodes a task snapshot into the frozen container bytes.
The entries come out in ascending byte order of the store name, so the same snapshot always gives the same bytes.
ยงPanics
Panics when a store name or a payload is longer than u32::MAX bytes.