Skip to main content Module sync Copy item path Source use std::collections::BTreeMap ; π use std::collections::btree_map::Entry ; π use std::mem::replace ; π use std::sync::Arc ; π use futures::Stream; π use ruma::DeviceId; π use ruma::OwnedDeviceId; π use ruma::OwnedRoomId; π use ruma::OwnedUserId; π use ruma::RoomId; π use ruma::UserId; π use ruma::api::client::sync::sync_events::v5::ConnId as ConnectionId; π use ruma::api::client::sync::sync_events::v5::ListId; π use ruma::api::client::sync::sync_events::v5::Request; π use ruma::api::client::sync::sync_events::v5::request; π use ruma::api::client::sync::sync_events::v5::request::AccountData; π use ruma::api::client::sync::sync_events::v5::request::E2EE; π use ruma::api::client::sync::sync_events::v5::request::Profiles; π use ruma::api::client::sync::sync_events::v5::request::Receipts; π use ruma::api::client::sync::sync_events::v5::request::ToDevice; π use ruma::api::client::sync::sync_events::v5::request::Typing; π use ruma::profile::ProfileFieldName; π use serde::Deserialize ; π use serde::Deserialize ; π use serde::Serialize ; π use serde::Serialize ; π use tokio::sync::Mutex as TokioMutex; π use tuwunel_core::Result ; π use tuwunel_core::at ; π use tuwunel_core::debug ; π use tuwunel_core::debug ; π use tuwunel_core::err ; π use tuwunel_core::implement; π use tuwunel_core::is_equal_to ; π use tuwunel_core::smallvec::SmallVec; π use tuwunel_core::utils::OptionExt ; π use tuwunel_core::utils::stream::TryIgnore ; π use tuwunel_database::Cbor ; π use tuwunel_database::Deserialized ; π use tuwunel_database::Map ; π use tuwunel_database::serialize_val ; π use crate::rooms::short::ShortStateHash ; π watch π Checkpoint A roomβs delivery progress as a request resuming from pos found it. Connection What a sliding sync connection carries from one request to the next. Data π Room Delivery progress for one room on a Sliding Sync connection. Service confirmed_removed π Reads a device lookup as a removal only when it found no device. connection_matches π fields_widened π Whether the request names a profile field the connection did not ask for. into_connection_key list_config_is_equal π list_filters_are_equal π normalize_profile_fields π retain_profile_fields π some_or_sticky π subscriptions_are_equal π ConnectionKey ConnectionVal Connections π DeliveredConfig A delivered room configurationβs hash, its required-state coverage, the
snapshot that coverage was read against, and the keys whose events the
delivery could not read. Lists RequiredState Fingerprints of delivered required-state selectors. RoomConfig A room configurationβs hash and its required-state coverage. RoomUpdate A completed room range, with the configuration its payload delivered, if any. Rooms Subscriptions UnreadState Fingerprints of requested state keys whose due events a delivery could not read.