[−][src]Trait bindb::Table
Types which should be stored.
Associated Types
type Key: PartialOrd + Serialize + DeserializeOwned
Primary key of the table. If this type is sane, then it should have same ordering in rust as it does in its bincode serialized form. Simply - Fields sorted in-order numeric values sorted naturally, and strings lexicographically.
Associated Constants
const NAME: &'static str
Name of the table. This should be unique within database
const VERSION: u8
Version of the schema - This is here for future support for migrations of