matrix_sdk_crypto::types

Module events

Source
Expand description

Types modeling end-to-end encryption related Matrix events

These types aim to provide a more strict variant of the equivalent Ruma types. Once deserialized they aim to zeroize all the secret material once the type is dropped.

Modules§

  • Types for m.dummy to-device events.
  • Types for m.forwarded_room_key to-device events.
  • Module containing specialized event types that were decrypted using the Olm protocol
  • Types for room events.
  • Types for m.room_key to-device events.
  • Types for the m.room_key_request events.
  • Types for the m.room_key.withheld events.
  • Types for m.secret.send to-device events.

Structs§

Enums§

  • An enum over the various to-device events we support.
  • Our best guess at the reason why an event can’t be decrypted.

Traits§

  • A trait for event contents to define their event type.