Skip to main content

Module types

Module types 

Source
Expand description

Foundational type definitions and aliases used throughout the crate.

This module provides the basic building stuff for event handling, including type aliases for common ruma types, event reference types, and metadata structures.

Structs§

ClientContext
Client context used when converting to client events.
EventFormatOptions
Event format options derived from room version rules.
EventHash
Content hashes for a Matrix event.
HashedEventRef
An event reference with content hash (room versions 1-2).
VerificationMetadata
Metadata recorded when attempting to verify the signature of an event.

Enums§

EventRefs
Event references in a room-version-specific format.
KnownEventsReferenceFormatVersion
An alternative to [ruma::room_version_rules::EventsReferenceFormatVersion], including only types supported by arminius-lib-rooms
KnownRoomVersionId
An alternative to [ruma::RoomVersionId], including only types supported by arminius-lib-rooms
PartsVerified
Describes how much of a ruma event was actually verified during a signature verification
PduFormat
PDU format version bucket for room version compatibility.

Constants§

SUPPORTED_ROOM_VERSIONS
The room versions which are completely supported in arminius-lib-events

Type Aliases§

StateKey
Matrix state key, part of the key of the state map