[−][src]Trait frame_support::storage::generator::StorageLinkedMap
Generator for StorageLinkedMap
used by decl_storage
.
By default final key generation rely on KeyFormat
.
Associated Types
type Query
The type that get/take returns.
type KeyFormat: KeyFormat
The family of key formats used for this map.
Required methods
fn from_optional_value_to_query(v: Option<V>) -> Self::Query
Convert an optional value retrieved from storage to the type queried.
fn from_query_to_optional_value(v: Self::Query) -> Option<V>
Convert a query to an optional value into storage.
Provided methods
fn storage_linked_map_final_key<KeyArg>(key: KeyArg) -> Vec<u8> where
KeyArg: EncodeLike<K>,
KeyArg: EncodeLike<K>,
Generate the full key used in top storage.
fn storage_linked_map_final_head_key() -> Vec<u8>
Generate the hashed key for head