Skip to main content

Module state_key

Module state_key 

Source
Expand description

State-event key types and ordering helpers.

Keys combine a state event type with its state key for use in maps. The module also provides forward and reverse comparison functions.

Constants§

INLINE_SIZE 🔒

Functions§

cmp
Compares state keys in ascending event-type and state-key order.
rcmp
Compares state keys in descending event-type and state-key order.

Type Aliases§

StateKey
Inline-backed string used for Matrix state keys.
TypeStateKey
Composite key identifying one state event slot.