[][src]Module frame_support::storage

Stuff to do with the runtime's storage.

Modules

child

Operation on runtime child storages.

hashed

Operation on runtime storage using hashed keys.

migration

Some utilities for helping access storage with arbitrary key types.

unhashed

Operation on unhashed runtime storage.

Structs

PrefixIterator

Iterator for prefixed map.

Enums

TransactionOutcome

Describes whether a storage transaction should be committed or rolled back.

Traits

IterableStorageDoubleMap

A strongly-typed double map in storage whose secondary keys and values can be iterated over.

IterableStorageMap

A strongly-typed map in storage whose keys and values can be iterated over.

StorageAppend

Marker trait that will be implemented for types that support the storage::append api.

StorageDecodeLength

Marker trait that will be implemented for types that support to decode their length in an effificent way. It is expected that the length is at the beginning of the encoded object and that the length is a Compact<u32>.

StorageDoubleMap

An implementation of a map with a two keys.

StorageMap

A strongly-typed map in storage.

StoragePrefixedMap

Trait for maps that store all its value after a unique prefix.

StorageValue

A trait for working with macro-generated storage values under the substrate storage API.

Functions

with_transaction

Execute the supplied function in a new storage transaction.