Expand description
What one delivery read of a roomβs required state.
The result decides the snapshot the delivery records and the keys it leaves for the next delivery to send.
Re-exportsΒ§
use tuwunel_core::implement;πuse tuwunel_core::utils::BoolExt;πuse tuwunel_service::rooms::short::ShortStateHash;πuse tuwunel_service::sync::UnreadState;πuse super::CollectedState;πuse super::StateEvent;π
StructsΒ§
- Collected π
- The required state a delivery read, folded from its candidates.
EnumsΒ§
- Unread π
- Why a selected keyβs event was left out of a delivery, when not by choice.
FunctionsΒ§
- recorded_
snapshot π - The snapshot a delivery records, given whether it resolved every selected key.
- unread_
state π - The keys the next delivery sends whatever snapshot it compares against.
Type AliasesΒ§
- Outcome π
- One selected keyβs outcome: its event, if sent, or why it was left out.