Crate ckb_db[][src]

Expand description

The DB Library

This Library contains the KeyValueDB traits which provides key-value store interface

Re-exports

pub use crate::db::RocksDB;
pub use crate::iter::DBIterator;
pub use crate::read_only_db::ReadOnlyDB;
pub use crate::snapshot::RocksDBSnapshot;
pub use crate::transaction::RocksDBTransaction;
pub use crate::transaction::RocksDBTransactionSnapshot;
pub use crate::write_batch::RocksDBWriteBatch;
pub use rocksdb as internal;

Modules

RocksDB wrapper base on OptimisticTransactionDB

RocksDB iterator wrapper base on DBIter

ReadOnlyDB wrapper base on rocksdb read_only_open mode

RocksDB snapshot wrapper

RocksDB optimistic transaction wrapper

RocksDB write batch wrapper

Structs

A simple wrapper round a string, used for errors reported from ffi calls.

Wrapper around RocksDB PinnableSlice struct.

Vector of bytes stored in the database.

An atomic batch of write operations.

Enums

Type Definitions

The type returned by database methods.