Struct openmls_memory_keystore::MemoryKeyStore
source · [−]pub struct MemoryKeyStore { /* private fields */ }
Trait Implementations
sourceimpl Debug for MemoryKeyStore
impl Debug for MemoryKeyStore
sourceimpl Default for MemoryKeyStore
impl Default for MemoryKeyStore
sourcefn default() -> MemoryKeyStore
fn default() -> MemoryKeyStore
Returns the “default value” for a type. Read more
sourceimpl OpenMlsKeyStore for MemoryKeyStore
impl OpenMlsKeyStore for MemoryKeyStore
type Error = Error
type Error = Error
The error type returned by the OpenMlsKeyStore
.
sourcefn store<V: ToKeyStoreValue>(&self, k: &[u8], v: &V) -> Result<(), Self::Error>
fn store<V: ToKeyStoreValue>(&self, k: &[u8], v: &V) -> Result<(), Self::Error>
Store a value v
that implements the [KeyStoreValue
] trait for
serialization for ID k
.
Returns an error if storing fails.
Auto Trait Implementations
impl RefUnwindSafe for MemoryKeyStore
impl Send for MemoryKeyStore
impl Sync for MemoryKeyStore
impl Unpin for MemoryKeyStore
impl UnwindSafe for MemoryKeyStore
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more