Crate rusty_leveldb [] [src]

Macros

log

Structs

BloomPolicy

A filter policy using a bloom filter internally.

DB

DB contains the actual database implemenation. As opposed to the original, this implementation is not concurrent (yet).

DBIterator
DefaultCmp

The default byte-wise comparator.

Logger
MemEnv

MemEnv is an in-memory environment that can be used for testing or ephemeral databases. The performance will be better than what a disk environment delivers.

Options

Options contains general parameters for a LevelDB instance. Most of the names are self-explanatory; the defaults are defined in the Default implementation.

Traits

Cmp

Comparator trait, supporting types that can be nested (i.e., add additional functionality on top of an inner comparator)

Env
FilterPolicy

Encapsulates a filter algorithm allowing to search for keys more efficiently. Usually, policies are used as a BoxedFilterPolicy (see below), so they can be easily cloned and nested.

LdbIterator

An extension of the standard Iterator trait that supports some methods necessary for LevelDB. This works because the iterators used are stateful and keep the last returned element.