pub trait TrieTableAdapter: TrieKeyAdapter {
type AccountTrieTable: Table<Key = Self::AccountKey, Value = BranchNodeCompact>;
type StorageTrieTable: Table<Key = B256, Value = Self::StorageValue> + DupSort<SubKey = Self::StorageSubKey>;
}Expand description
Maps a TrieKeyAdapter to account and storage trie tables using its key and value types.
The selected table types must match the database’s stored nibble encoding.
Required Associated Types§
Sourcetype AccountTrieTable: Table<Key = Self::AccountKey, Value = BranchNodeCompact>
type AccountTrieTable: Table<Key = Self::AccountKey, Value = BranchNodeCompact>
The account trie table type.
Sourcetype StorageTrieTable: Table<Key = B256, Value = Self::StorageValue> + DupSort<SubKey = Self::StorageSubKey>
type StorageTrieTable: Table<Key = B256, Value = Self::StorageValue> + DupSort<SubKey = Self::StorageSubKey>
The storage trie table type.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".