Skip to main content

AsyncManifestStoreScan

Trait AsyncManifestStoreScan 

Source
pub trait AsyncManifestStoreScan: AsyncManifestStore {
    // Required method
    async fn list_roots(&self) -> Result<Vec<NamedRootManifest>, Self::Error>;
}
Expand description

Async manifest stores that can enumerate durable named roots.

Scanning remains optional because point lookups and compare-and-swap are enough for normal publish/fetch paths, while retention and GC need listing.

Required Methods§

Source

async fn list_roots(&self) -> Result<Vec<NamedRootManifest>, Self::Error>

List all durable named root manifests.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementations on Foreign Types§

Source§

impl<T: AsyncManifestStoreScan> AsyncManifestStoreScan for Arc<T>

Implementors§