Skip to main content

AmkSource

Trait AmkSource 

Source
pub trait AmkSource {
    // Required method
    fn amk(&self, version: AmkVersion) -> Option<Amk>;
}
Expand description

The album keys a reader holds, by epoch — what opens a derivative.

A seam rather than a concrete key store, so the SDK never owns AMKs: the caller’s workspace answers from its album store, and tests answer from a map.

Required Methods§

Source

fn amk(&self, version: AmkVersion) -> Option<Amk>

The AMK for version, or None when this reader does not hold that epoch.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl AmkSource for BTreeMap<AmkVersion, Amk>

Source§

fn amk(&self, version: AmkVersion) -> Option<Amk>

Implementors§