Skip to main content

Crate libmdbx

Crate libmdbx 

Source
Expand description

§libmdbx-rs

Rust bindings for libmdbx.

§License

The entire code within this repository is licensed under the Mozilla Public License v2.0

Modules§

ormorm
Fully typed ORM for use with libmdbx. Fully typed ORM based on libmdbx.

Macros§

cbor_table_objectcbor
dupsort
mdbx_try_optional
table
table_info
table_integer

Structs§

Cursor
A cursor for navigating the items within a table.
Database
Supports multiple tables, all residing in the same shared-memory map.
DatabaseOptions
Info
Database information.
NoWriteMap
ObjectLength
If you don’t need the data itself, just its length.
RO
RW
ReadWriteOptions
Stat
Database statistics.
Table
A handle to an individual table in a database.
TableFlags
Table options.
Transaction
An MDBX transaction.
WriteFlags
Write options.
WriteMap

Enums§

Error
An MDBX error kind.
IntoIter
An iterator over the key/value pairs in an MDBX table.
Iter
An iterator over the key/value pairs in an MDBX table.
IterDup
An iterator over the keys and duplicate values in an MDBX table.
Mode
PageSize
SyncMode
MDBX sync mode

Traits§

DatabaseKind
Decodable
Implement this to be able to decode data values
TransactionKind

Functions§

c_enumNon-Windows

Type Aliases§

Result
An MDBX result.