Crate grovedb_storage

Source
Expand description

Storage abstraction for GroveDB.

Re-exports§

pub use crate::error::Error;

Modules§

error
Storage Errors File
worst_case_costs
GroveDB storage_cost layer worst case costs traits.

Structs§

StorageBatch
Structure to hold deferred database operations in “batched” storage_cost contexts.

Traits§

Batch
Database batch (not to be confused with multi-tree operations batch).
RawIterator
Allows to iterate over database record inside of storage_cost context.
Storage
Top-level storage_cost abstraction. Should be able to hold storage_cost connection and to start transaction when needed. All query operations will be exposed using StorageContext.
StorageContext
Storage context. Provides operations expected from a database abstracting details such as whether it is a transaction or not.

Type Aliases§

ChildrenSizes
Children sizes