pub fn check<S: AsRef<str>>(string: S) -> Result<(), Error>
Similar to check_str, except it is generic over AsRef<str>.
check_str
AsRef<str>
Any Error in check_str is propagated.
Error