pub fn check_valid_string_ascii<T: AsRef<str>>(s: T, param: &str) -> Result<()>Expand description
Checks the string s has semantic meaning and contains only ASCII characters.
ยงErrors
Returns an error if:
sis an empty string.sconsists solely of whitespace characters.scontains one or more non-ASCII characters.