pub trait StateCommitment: NamespaceStore {
// Required methods
fn root(
&self,
p: &Partition,
) -> impl Future<Output = Result<Option<(String, Hash)>, StoreError>> + MaybeSend;
fn prove(
&self,
p: &Partition,
key: &Key,
) -> impl Future<Output = Result<Option<Bytes>, StoreError>> + MaybeSend;
}Expand description
A future verifiable state root over a partition (R-21). Optional and unimplemented in the epic; the pipeline never requires it.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".