pub fn check_vec_len<T>( items: &[T], max: usize, field: &'static str, ) -> Result<(), WireValidationError>
Check that a Vec does not exceed the given length limit.
Vec