Skip to main content

check_map_len

Function check_map_len 

Source
pub fn check_map_len<K, V>(
    items: &BTreeMap<K, V>,
    max: usize,
    field: &'static str,
) -> Result<(), WireValidationError>
Expand description

Check that a BTreeMap does not exceed the given length limit.