pub trait KeyProvider: Send + Sync {
// Required method
fn key(&self) -> ThingdResult<[u8; 32]>;
}Available on crate feature
persistent only.Expand description
Supplies the key used to open an encrypted database.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".