pub trait KeyProvider {
// Required method
fn key(&self, app_name: &str) -> Result<SecretKey, KeyError>;
}Expand description
Retrieves or creates the encryption key for an application.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".