pub type HistoryTreePartsCf<'cf> = TypedColumnFamily<'cf, (), HistoryTreeParts>;
Expand description
The type for reading history trees from the database.
This constant should be used so the compiler can detect incorrectly typed accesses to the column family.
Aliased Type§
struct HistoryTreePartsCf<'cf> {
db: DiskDb,
cf: &'cf ColumnFamily,
_cf_name: String,
_marker: PhantomData<((), HistoryTreeParts)>,
}
Fields§
§db: DiskDb
The database.
cf: &'cf ColumnFamily
The column family reference in the database.
_cf_name: String
The column family name, only used for debugging and equality checking.
_marker: PhantomData<((), HistoryTreeParts)>
A marker type used to bind the key and value types to the struct.