linera_views::backends::dual

Trait DualStoreRootKeyAssignment

Source
pub trait DualStoreRootKeyAssignment {
    // 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", so this trait is not object safe.

Implementors§