Skip to main content

check_string_len

Function check_string_len 

Source
pub fn check_string_len(
    s: &str,
    max: usize,
    field: &'static str,
) -> Result<(), WireValidationError>
Expand description

Check that a String does not exceed the given byte length limit.