pub trait StorageBackend: ObjectStoreBackend {
// Required method
fn open(path: &Path) -> Result<Self>
where Self: Sized;
// Provided methods
fn close(&self) -> Result<()> { ... }
fn stats(&self) -> StorageStats { ... }
}Expand description
High-level storage backend trait with lifecycle management.
Required Methods§
Provided Methods§
Sourcefn stats(&self) -> StorageStats
fn stats(&self) -> StorageStats
Returns storage statistics.