Function ruma_identifiers_validation::key_id::validate

source ยท
pub fn validate<K: KeyName + ?Sized>(s: &str) -> Result<NonZeroU8, Error>