pub trait KeyProvider {
// Required method
fn get_key(&self, context: &KeyContext) -> Result<&[u8], DecryptionError>;
}Required Methods§
fn get_key(&self, context: &KeyContext) -> Result<&[u8], DecryptionError>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".