Re-exportsΒ§
use std::borrow::Cow;πuse std::collections::BTreeMap;πuse std::collections::HashSet;πuse futures::FutureExt;πuse futures::Stream;πuse futures::StreamExt;πuse futures::TryFutureExt;πuse futures::TryStreamExt;πuse futures::future::join;πuse futures::future::join3;πuse futures::future::join4;πuse ruma::JsOption;πuse ruma::MxcUri;πuse ruma::OwnedEventId;πuse ruma::OwnedMxcUri;πuse ruma::RoomId;πuse ruma::UInt;πuse ruma::UserId;πuse ruma::api::client::sync::sync_events::UnreadNotificationsCount;πuse ruma::api::client::sync::sync_events::v5::DisplayName;πuse ruma::api::client::sync::sync_events::v5::response::Heroes;πuse ruma::api::client::sync::sync_events::v5::response::Room as ResponseRoom;πuse ruma::events::AnyStrippedStateEvent;πuse ruma::events::AnySyncStateEvent;πuse ruma::events::StateEventType;πuse ruma::events::TimelineEventType;πuse ruma::events::room::member::MembershipState;πuse ruma::serde::Raw;πuse serde::Deserialize;πuse serde::Deserialize;πuse tuwunel_core::Error;πuse tuwunel_core::Result;πuse tuwunel_core::at;πuse tuwunel_core::format_small_string;πuse tuwunel_core::is_equal_to;πuse tuwunel_core::ref_at;πuse tuwunel_core::smallstr::SmallString;πuse tuwunel_core::smallvec::SmallVec;πuse tuwunel_core::utils::BoolExt;πuse tuwunel_core::utils::IterStream;πuse tuwunel_core::utils::OptionExt;πuse tuwunel_core::utils::ReadyExt;πuse tuwunel_core::utils::TryFutureExtExt;πuse tuwunel_core::utils::hash::sha256::Digest as Sha256Digest;πuse tuwunel_core::utils::hash::sha256::delimited as sha256_delimited;πuse tuwunel_core::utils::hash::sha256::hash as sha256_hash;πuse tuwunel_core::utils::math::usize_from_ruma_bounded;πuse tuwunel_core::utils::result::FlatOk;πuse tuwunel_core::utils::result::NotFound;πuse tuwunel_core::utils::stream::BroadbandExt;πuse tuwunel_core::utils::stream::WidebandExt;πuse tuwunel_core::warn;πuse tuwunel_matrix::Event;πuse tuwunel_matrix::StateKey;πuse tuwunel_matrix::pdu::PduCount;πuse tuwunel_matrix::pdu::PduEvent;πuse tuwunel_matrix::pdu::RawPduId;πuse tuwunel_service::Services;πuse tuwunel_service::rooms::short::ShortStateHash;πuse tuwunel_service::sync::RequiredState;πuse tuwunel_service::sync::Room;πuse tuwunel_service::sync::RoomConfig;πuse tuwunel_service::sync::UnreadState;πuse self::bump_stamp::knock_bump_stamp;πuse self::bump_stamp::room_bump_stamp;πuse self::collected::Collected;πuse self::collected::Outcome;πuse self::collected::Unread;πuse self::heroes::calculate_heroes;πuse super::super::load_timeline_fallible;πuse super::super::own_departure;πuse super::super::stand_in_leave;πuse super::super::strip_state_unsigned;πuse super::Connection;πuse super::ListIds;πuse super::SyncInfo;πuse super::WindowRoom;πuse super::departed;πuse super::stripped_content;πuse super::stripped_state;πuse crate::ignored_filter;πuse crate::with_membership;π
ModulesΒ§
- bump_
stamp π - collected π
- What one delivery read of a roomβs required state.
- heroes π
StructsΒ§
- Avatar
Content π - Candidate π
- What decides whether a delta sends one requested state event.
- Name
Content π - State
Selection π
EnumsΒ§
ConstantsΒ§
- TIMELINE_
LIMIT_ πMAX - Most timeline events one room returns per response, as legacy sync allows.
FunctionsΒ§
- collect_
required_ πstate - current_
state_ πid - The ID of the event the roomβs current state holds under one requested key.
- digest_
word π - fingerprints_
cover π - Whether a set of key fingerprints covers one state key.
- handle_
room π - knock_
meta π - The name and avatar a knocked roomβs summary gives where room state has none.
- leave_
or_ πban_ response - member_
counts_ πfuture - membership_
allows_ πrequired_ state - merge_
unread_ πnotifications - merged_
room_ πdetails - notification_
counts_ πfuture - required_
state_ πhash - resolve_
heroes π - room_
config π - room_
meta_ πfuture - room_
timeline_ πlimited - room_
timeline_ πmetadata - state_
is_ πrequired - state_
may_ πhave_ changed - Whether a roomβs newest event lies past the delta cursor.
- state_
mode π - state_
snapshots π - The roomβs current snapshot and the base a delta compares requested state with.
- wildcard_
state π - The current state listed under each wildcard selector a delivery evaluates.
Type AliasesΒ§
- Collected
State π - Delivery π
- Event
Type πString - Room
Details π - Selected π
- Snapshots π
- State
Event π - State
Read π - Stripped
Event π - Thread
Counts π - Timeline
Members π