rustls_pki_types::server_name

Function validate

Source
const fn validate(input: &[u8]) -> Result<(), InvalidDnsNameError>