Skip to main contentModule utils
Source use std::borrow::Borrow; ๐ use std::iter::once; ๐ use futures::FutureExt; ๐ use futures::Stream; ๐ use futures::StreamExt; ๐ use futures::future::join; ๐ use futures::future::join3; ๐ use futures::future::try_join; ๐ use itertools::Itertools; ๐ use ruma::EventId; ๐ use ruma::OwnedEventId; ๐ use ruma::OwnedRoomId; ๐ use ruma::RoomId; ๐ use ruma::RoomVersionId; ๐ use ruma::ServerName; ๐ use serde::Deserialize; ๐ use serde::Deserialize; ๐ use serde_json::value::RawValue as RawJsonValue; ๐ use tuwunel_core::Err; ๐ use tuwunel_core::Result; ๐ use tuwunel_core::at; ๐ use tuwunel_core::err; ๐ use tuwunel_core::implement; ๐ use tuwunel_core::is_false; ๐ use tuwunel_core::result::NotFound; ๐ use tuwunel_core::utils::FutureBoolExt; ๐ use tuwunel_core::utils::IterStream; ๐ use tuwunel_core::utils::ReadyExt; ๐ use tuwunel_core::utils::future::ReadyBoolExt; ๐ use tuwunel_core::utils::option::OptionExt; ๐ use tuwunel_core::warn; ๐ use tuwunel_service::Services; ๐ use tuwunel_service::rooms::short::ShortEventId; ๐
- AccessCheck ๐
- auth_chain_ids ๐
- auth_chain_pdu ๐
- Reads an auth chain event for a federation response, or omits it.
- require_event_in_room ๐
- require_known_room ๐
- short_auth_chain ๐
- state_at_event ๐
- Reads the state of a room at an event for a federation response.
- state_pdu ๐
- Reads a state event for a federation response, or omits it.
- walk_auth_chain ๐
- Streams the auth chain of the state a federation response serves.
- walk_state_auth_chain ๐
- Streams the auth chain of the state at an event and of the event itself.
- StateAtEvent ๐