Expand description
Collection of methods related to the Matrix specification.
Re-exports§
pub use self::media_message::MediaFileError;
pub use self::media_message::MediaMessage;
pub use self::media_message::VisualMediaMessage;
Modules§
Structs§
- A URI for a Matrix event ID.
- A URI for a Matrix room ID.
- The result of a password validation.
Enums§
- An deserialized event received in a sync response.
- All errors that can occur when setting up the Matrix client.
- A URI for a Matrix ID.
- Errors encountered when parsing a Matrix ID URI.
Constants§
- The textual representation of a room mention.
Traits§
- Helper trait for types possibly containing an
@room
mention.
Functions§
- Find mentions in the given child nodes and append them to the given list.
- Whether the given
char
is a word boundary, according to the Matrix spec. - Create a
Client
with the given stored session. - Find
@room
in the given string. - Find mentions in the given HTML string.
- Extract the body from the given event.
- Extract the body from the given message event.
- Extract the body from the given state event.
- Try to convert the given node to a mention.
- Compare two raw JSON sources.
- Validate a password according to the Matrix specification.