Crate soliddb

Source
Expand description

This crate provides traits for storing serializable types in RocksDB.

Structs§

Items
Iterator of Items returned by Table::iter.
WithId
Wrapper type for an entries value and the associated id.

Enums§

Error
The Error type for the soliddb crate.

Traits§

IndexValue
The IndexValue trait has to be implemented for types that are used as either unique or indexed field.
Single
Trait for storing a single instance of the given type in a rocksdb database instance. Can be derived.
Table
Trait for storing a collection of instances instance of the given type in a rocksdb database instance. Can be derived.

Functions§

open
Opens a new RocksDB Database at the given path.

Type Aliases§

DB
A type alias to DB instance type with the single-threaded column family creations/deletions
Result
Result type for the soliddb crate.

Derive Macros§

Single
Table