Trait linera_views::backends::dual::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§
sourcefn assigned_store(root_key: &[u8]) -> Result<StoreInUse, Error>
fn assigned_store(root_key: &[u8]) -> Result<StoreInUse, Error>
Obtains the store assigned to this root key.
Object Safety§
This trait is not object safe.