pub type LegacyHistoryTreePartsCf<'cf> = TypedColumnFamily<'cf, Height, HistoryTreeParts>;
Expand description
The legacy (1.3.0 and earlier) type for reading history trees from the database. This type should not be used in new code.
Aliased Type§
struct LegacyHistoryTreePartsCf<'cf> {
db: DiskDb,
cf: &'cf ColumnFamily,
_cf_name: String,
_marker: PhantomData<(Height, 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<(Height, HistoryTreeParts)>
A marker type used to bind the key and value types to the struct.