Module table

Available on crate feature provider only.
Expand description

Table traits

Traits§

Compress
Trait that will transform the data to be saved in the DB in a (ideally) compressed format
Decode
Trait that will transform the data to be read from the DB.
Decompress
Trait that will transform the data to be read from the DB.
DupSort
DupSort allows for keys to be repeated in the database.
Encode
Trait that will transform the data to be saved in the DB.
Key
Generic trait that enforces the database key to implement Encode and Decode.
Table
Generic trait that a database table should follow.
TableImporter
Allows duplicating tables across databases
TableInfo
Trait that provides object-safe access to the table’s metadata.
Value
Generic trait that enforces the database value to implement Compress and Decompress.

Type Aliases§

TableRow
Tuple with T::Key and T::Value.