Crate kv [] [src]

kv is a simple way to embed a key/value store in any application written in Rust

Structs

Bucket

A Bucket represents a single database, or section of the Store

Config

Config is used to create a new store

DatabaseFlags

Database options.

Integer

Integer key type

Manager

A process is only permitted to have one open handle to each database. This manager exists to enforce that constraint: don't open databases directly.

Store

A Store is used to keep data on disk using LMDB

ValueBuf

A Value can be used to dynamically build values

ValueMut

A mutable reference to an existing value slice

ValueRef

A reference to an existing value slice

Enums

Cursor

Iterable access to the database

CursorOp

CursorOp provides the ability to specify the position of a cursor

Error

Error type

Txn

Access to the database

Traits

Encoding

Encoded values

Key

A Key can be used as a key to a database

Value

A Value can be stored in a database