pub trait ManifestStoreScan: ManifestStore {
// Required method
fn list_roots(&self) -> Result<Vec<NamedRootManifest>, Self::Error>;
}Expand description
Manifest stores that can enumerate durable named roots.
This trait is separate from ManifestStore because point lookups and CAS
updates are enough for simple applications, while store-wide garbage
collection needs an explicit listing capability. Implementations must return
roots sorted by raw name bytes for deterministic retention planning.
Required Methods§
Sourcefn list_roots(&self) -> Result<Vec<NamedRootManifest>, Self::Error>
fn list_roots(&self) -> Result<Vec<NamedRootManifest>, Self::Error>
List all durable named root manifests.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".