pub fn encode_group_membership_dict(
entries: &BTreeMap<InboxId, GroupMembershipEntry>,
) -> Result<Vec<u8>, MigrationError>Expand description
Encode GROUP_MEMBERSHIP dict-storage bytes as a
TlsMap<InboxId, VLBytes> snapshot. The dict always holds the
raw map as state; this encoder is the symmetric of
decode_group_membership_dict and is used by tests and by
callers that need to construct expected dict bytes (the runtime
path goes through apply_app_data_update_payload, which produces
the same snapshot from a wire delta).