Function concordium_std::deserial_set_no_length
source · pub fn deserial_set_no_length<R, K>(
source: &mut R,
len: usize
) -> Result<BTreeSet<K>, ParseError>
Expand description
Read a BTreeSet as a 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.