Skip to main content

AsyncIndexedStore

Trait AsyncIndexedStore 

Source
pub trait AsyncIndexedStore:
    AsyncStore
    + AsyncManifestStore
    + AsyncTransactionalStore {
    // Provided method
    async fn confirm_async_indexed_publication(
        &self,
        trees: &[&Tree],
    ) -> Result<(), Error>
       where <Self as AsyncStore>::Error: Send + Sync { ... }
}
Expand description

Native asynchronous store contract used by AsyncIndexedMap.

The visibility and durability requirements are identical to IndexedStore: immutable nodes may be published before the canonical collection root, but that root may advance only through a strict transaction.

Provided Methods§

Source

async fn confirm_async_indexed_publication( &self, trees: &[&Tree], ) -> Result<(), Error>
where <Self as AsyncStore>::Error: Send + Sync,

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

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§