pub fn verify_dns_length(domain_name: &str, allow_trailing_dot: bool) -> boolExpand description
Performs the VerifyDNSLength check on the output of the ToASCII operation.
If the second argument is false, the trailing root label dot is allowed.
§Panics
Panics in debug mode if the argument isn’t ASCII.