Skip to main content

DualStoreRootKeyAssignment

Trait DualStoreRootKeyAssignment 

Source
pub trait DualStoreRootKeyAssignment: AutoTraits {
    // Required method
    fn assigned_store(root_key: &[u8]) -> Result<StoreInUse, Error>;
}
Expand description

The trait for a (static) root key assignment.

Required Methods§

Source

fn assigned_store(root_key: &[u8]) -> Result<StoreInUse, Error>

Obtains the store assigned to this root key.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§