Skip to main content

Module plan

Module plan 

Source
Expand description

Contains the logic to plan a sync v4 request.

Re-exports§

pub use apply_request::FilteredRooms;
pub use apply_request::MatchedRoom;
pub use apply_state::RoomToSync;

Modules§

apply_request 🔒
Contains logic to apply a sync v4 request to a user’s rooms.
apply_state 🔒
Contains logic to apply the per-connection state to an already filtered list of rooms (see MatchedRoom).

Structs§

SyncV4Plan
Contains a sync v4 plan, i.e. the result of plan over a gather::SyncV4Inputs.

Functions§

plan 🔒
Plan a sync v4 request by applying the request’s as well as the per-connection state to the user’s rooms and produce a plan out of it (see SyncV4Plan).