Module utils

Source
Expand description

Utility types and traits.

Modules§

local_serverlocal-server
A server that binds to a random port on localhost and waits for a GET HTTP request.

Traits§

IntoRawMessageLikeEventContent
The set of types that can be used with Room::send_raw.
IntoRawStateEventContent
The set of types that can be used with Room::send_state_event_raw.

Functions§

formatted_body_frommarkdown
Given a pair of optional body and formatted_body parameters, returns a formatted body.
is_room_alias_format_valid
Verifies the passed String matches the expected room alias format: