Trait reth_db::table::DupSort

pub trait DupSort: Table {
    type SubKey: Key;
}
Expand description

DupSort allows for keys to be repeated in the database.

Upstream docs: https://libmdbx.dqdkfa.ru/usage.html#autotoc_md48

Required Associated Types§

type SubKey: Key

The table subkey. This type must implement Encode and Decode.

Sorting should be taken into account when encoding this.

Upstream docs: https://libmdbx.dqdkfa.ru/usage.html#autotoc_md48

Object Safety§

This trait is not object safe.

Implementors§

source§

impl DupSort for AccountChangeSets

source§

type SubKey = Address

source§

impl DupSort for HashedStorages

source§

type SubKey = FixedBytes<32>

source§

impl DupSort for PlainStorageState

source§

type SubKey = FixedBytes<32>

source§

impl DupSort for StorageChangeSets

source§

type SubKey = FixedBytes<32>

source§

impl DupSort for StoragesTrie

source§

type SubKey = StoredNibblesSubKey

source§

impl<T: DupSort> DupSort for RawDupSort<T>