Module secret_toolkit_storage::append_store
source · [−]Expand description
An “append store” is a storage wrapper that guarantees constant-cost appending to and popping from a list of items in storage.
This is achieved by storing each item in a separate storage entry. A special key is reserved for storing the length of the collection so far.
Structs
A type allowing only reads from an append store. useful in the context_, u8 of queries.
A type allowing both reads from and writes to the append store at a given storage location.
An iterator over the contents of the append store.