Skip to main content

Module collected

Module collected 

Source
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.