Crate ruma_identifiers_validation

Source

Re-exports§

pub use error::Error;

Modules§

base64_public_key
client_secret
error
Error conditions.
event_id
key_id
mxc_uri
room_alias_id
room_id
room_id_or_alias_id
room_version_id
server_name
server_signing_key_version
user_id
voip_version_id

Constants§

ID_MAX_BYTES
The maximum allowed length of Matrix identifiers, in bytes.

Traits§

KeyName
Helper trait to validate the name of a key.

Functions§

localpart_is_backwards_compatible
Check whether the Matrix identifier localpart is allowed over federation.