Skip to main content

KeyStore

Trait KeyStore 

Source
pub trait KeyStore: Send + Sync {
    // Required method
    fn aead_key(&self, key_id: u8) -> Option<&[u8; 32]>;
}

Required Methods§

Source

fn aead_key(&self, key_id: u8) -> Option<&[u8; 32]>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§