Skip to main content

DecryptKeySource

Trait DecryptKeySource 

Source
pub trait DecryptKeySource:
    Send
    + Sync
    + Debug {
    // Required method
    fn key(&self, meter: &Arc<Meter>) -> Result<Option<[u8; 16]>, ChargeError>;
}
Expand description

A binding resolves its mutable global only when an encrypted bundle needs it.

Required Methods§

Source

fn key(&self, meter: &Arc<Meter>) -> Result<Option<[u8; 16]>, ChargeError>

Convert the current key, without holding a runtime configuration lock.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§