Crate leveldb_rs [−] [src]
Rust bindings for LevelDB, a fast and lightweight key/value database library from Google.
Warning: Some portions of this library are still unsafe to use, in that it is possible to call methods from LevelDB with stale pointers, or otherwise cause memory-unsafety. If you'd like to avoid this, and until I fix them, please don't use:
- Custom comparators
- DB snapshots
And please be careful with write batches. Patches are welcome!
This struct represents an open instance of the database.
This structure represents a comparator for use in LevelDB.
This structure represents an iterator over the database. Note that since the next() function is bounded by a lifetime, it does not (quite) conform to the Iterator trait. To get this, use the alloc() helper.
An iterator over a database that implements the standard library's Iterator trait.
This structure represents options that can be used when constructing a LevelDB instance.
This structure represents options that can be used when reading from a LevelDB instance.
An immutable snapshot of the database at a point in time.
A write batch holds a collection of updates to apply atomically to a database. Updates are applied in the order in which they are added to the write batch.
This structure represents options that can be used when writing to a LevelDB instance.
Our error type
An alias for