openmls::storage

Trait PublicStorageProvider

Source
pub trait PublicStorageProvider: PublicStorageProvider<CURRENT_VERSION, PublicError = Self::Error> {
    type Error: Debug + Error;
}
Expand description

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.

Required Associated Types§

Source

type Error: Debug + Error

An opaque error returned by all methods on this trait. Matches PublicError from openmls_traits::storage::PublicStorageProvider.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<P: PublicStorageProvider<CURRENT_VERSION>> PublicStorageProvider for P

Source§

type Error = <P as PublicStorageProvider<CURRENT_VERSION>>::PublicError