PublicStorageProvider

Trait PublicStorageProvider 

pub trait PublicStorageProvider: PublicStorageProvider<openmls::::storage::PublicStorageProvider::{constant#0}, 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§

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§

§

impl<P> PublicStorageProvider for P
where P: PublicStorageProvider<openmls::::storage::{impl#1}::{constant#0}>,

§

type Error = <P as PublicStorageProvider<openmls::::storage::{impl#1}::{constant#0}>>::PublicError