Skip to main content

Module storage

Module storage 

Source
Available on 32-bit or 64-bit only.
Expand description

OpenMLS Storage

This module serves two purposes:

  • It implements the Key, Entity and type traits from openmls_traits::storage::traits.
  • It defines traits that specialize the Storage and Provider traits from openmls_traits. This way, the Rust compiler knows that the concrete types match when we use the Provider in the code.

Structs§

GroupMigrationBundlemigration-import
Bundle used to import a group exported from a previous OpenMLS version. See GroupMigrationBundle::store. A group and all of the group-associated data it owns, deserialized from a previous OpenMLS version for migration. The mirror of the older version’s MlsGroup::export_for_migration.

Traits§

OpenMlsProvider
A convenience trait for the OpenMLS provider that defines the storage provider for the current version of storage. Throughout the code, this one should be used instead of openmls_traits::OpenMlsProvider.
PublicStorageProvider
A convenience trait for the current version of the public storage. Throughout the code, this one should be used instead of openmls_traits::public_storage::PublicStorageProvider.
StorageProvider
A convenience trait for the current version of the storage. Throughout the code, this one should be used instead of openmls_traits::storage::StorageProvider.