Skip to main content

IndexedStore

Trait IndexedStore 

Source
pub trait IndexedStore: Store + ManifestStore {
    // Provided method
    fn confirm_indexed_publication(&self, trees: &[&Tree]) -> Result<(), Error> { ... }
}
Expand description

Store contract used by the canonical single-root index coordinator.

General multi-map transactions are deliberately not part of this trait. Immutable nodes are published first; one manifest CAS is the visibility transition.

Provided Methods§

Source

fn confirm_indexed_publication(&self, trees: &[&Tree]) -> Result<(), Error>

Confirm every non-empty candidate tree root is readable before CAS.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl<T: IndexedStore> IndexedStore for Arc<T>

Implementors§