pub trait CatalogService {
// Required methods
fn list_collections(&self) -> Vec<String>;
fn collection_stats(&self, collection: &str) -> Option<CollectionStats>;
fn catalog_snapshot(&self) -> CatalogSnapshot;
}Required Methods§
fn list_collections(&self) -> Vec<String>
fn collection_stats(&self, collection: &str) -> Option<CollectionStats>
fn catalog_snapshot(&self) -> CatalogSnapshot
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".