Skip to main content

Module format

Module format 

Source
Expand description

Outgoing federation event formatting.

The formatter converts a canonical event object, or a stored event read by its ID, into the room-version shape expected by rumaโ€™s outgoing federation response types.

Re-exportsยง

use futures::future::OptionFuture; ๐Ÿ”’
use ruma::CanonicalJsonObject; ๐Ÿ”’
use ruma::CanonicalJsonValue; ๐Ÿ”’
use ruma::EventId; ๐Ÿ”’
use ruma::RoomId; ๐Ÿ”’
use ruma::RoomVersionId; ๐Ÿ”’
use serde_json::value::RawValue as RawJsonValue; ๐Ÿ”’
use serde_json::value::to_raw_value; ๐Ÿ”’
use tuwunel_core::Result; ๐Ÿ”’
use tuwunel_core::implement; ๐Ÿ”’
use tuwunel_core::utils::result::FlatOk; ๐Ÿ”’
use tuwunel_matrix::pdu; ๐Ÿ”’