pub fn validate_str(s: &str) -> Option<Error>
Like validate, but accepts &str directly.
validate
&str