encode

Function encode 

Source
pub fn encode(
    identity: SnapshotIdentity,
    entries: &[(RuleMaskKey, Arc<AdaptiveTokenMask>)],
) -> Vec<u8> ⓘ
Expand description

Serialize entries into the snapshot byte format.