pub type ChainValuePoolsCf<'cf> = TypedColumnFamily<'cf, (), ValueBalance<NonNegative>>;
Expand description

The type for reading value pools from the database.

This constant should be used so the compiler can detect incorrectly typed accesses to the column family.

Aliased Type§

struct ChainValuePoolsCf<'cf> {
    db: DiskDb,
    cf: &'cf ColumnFamily,
    _cf_name: String,
    _marker: PhantomData<((), ValueBalance<NonNegative>)>,
}

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<((), ValueBalance<NonNegative>)>

A marker type used to bind the key and value types to the struct.