Function concordium_contracts_common::deserial_set_no_length [−][src]
pub fn deserial_set_no_length<R: Read, K: Deserial + Ord + Copy>(
source: &mut R,
len: usize
) -> ParseResult<BTreeSet<K>>
Read a BTreeSet as an list of keys, given some length. NB: This ensures there are no duplicates, hence the specialized type. Moreover this will only succeed if keys are listed in order.