Crate ruma::state_res[][src]

This is supported on crate feature state-res only.




Represents the various errors that arise when resolving state.


Abstraction of a PDU so users can have their own PDU types.


Authenticate the incoming event.

For the given event kind what are the relevant auth events that are needed to authenticate this content.

Sorts the event graph based on number of outgoing/incoming edges.

Resolve sets of state events as they come in. Internally StateResolution builds a graph and an auth chain to allow for state conflict resolution.

Type Definitions

Result type for state resolution.

A mapping of event type and state_key to some value T, usually an EventId.