ruma_identifiers_validation
0.10.0
In ruma_identifiers_validation::key_id
Function
ruma_identifiers_validation
::
key_id
::
validate
Copy item path
source
ยท
[
−
]
pub fn validate<K:
KeyName
+ ?
Sized
>(s: &
str
) ->
Result
<
NonZeroU8
,
Error
>