Expand description
Re-exports§
pub use mdbx::create_db;
mdbx
pub use mdbx::init_db;
mdbx
pub use mdbx::open_db;
mdbx
pub use mdbx::open_db_read_only;
mdbx
pub use mdbx::DatabaseEnv;
mdbx
pub use mdbx::DatabaseEnvKind;
mdbx
pub use tables::*;
Modules§
- common
- Common types used throughout the abstraction.
- cursor
- Cursor database traits.
- database
- Database traits.
- database_
metrics - Database metrics trait extensions.
- lockfile
- Storage lock utils.
- mdbx
mdbx
- Bindings for MDBX.
- mock
- Mock database
- models
- Implements data structures specific to the database
- static_
file - reth’s static file database table import and access
- table
- Table traits
- tables
- Tables and data models.
- test_
utils test-utils
- Collection of database test utilities
- transaction
- Transaction database traits.
- version
- Database version utils.
Macros§
- add_
static_ file_ mask - Add mask to select
N
column values from a specific static file segment row. - impl_
fixed_ arbitrary - Implements the
Arbitrary
trait for types with fixed array types. - tables
- Defines all the tables in the database.
- tables_
to_ generic - Maps a run-time
Tables
enum value to its corresponding compile-timeTable
type.
Structs§
- Client
Version - Client version that accessed the database.
Enums§
- Database
Error - Database error type.
- Database
Write Operation - Database write operation type.
Traits§
- Database
- Main Database trait that can open read-only and read-write transactions.
- DbTx
Unwind Ext - Extension trait for
DbTxMut
that provides unwind functionality.
Functions§
- is_
database_ empty mdbx
- Check if a db is empty. It does not provide any information on the validity of the data in it. We consider a database as non empty when it’s a non empty directory.