pub fn validate_identifier(ident: &str) -> Result<String, IdentifierPolicyError>Expand description
Validate a Unicode identifier against the full security policy.
Returns Ok(nfc_normalized) on success, or Err(IdentifierPolicyError)
on failure. The returned string is the NFC-normalized form of the
identifier.