Module sp_io::storage [−][src]
Interface for accessing the storage from within the runtime.
Structs
HostFunctions | Provides implementations for the extern host functions. |
Functions
append | Append the encoded |
changes_root | “Commit” all existing operations and get the resulting storage change root.
|
clear | Clear the storage of the given |
clear_prefix | Clear the storage of each key-value pair where the key starts with the given |
commit_transaction | Commit the last transaction started by |
exists | Check whether the given |
get | Returns the data for |
next_key | Get the next key in storage after the given one in lexicographic order. |
read | Get |
rollback_transaction | Rollback the last transaction started by |
root | “Commit” all existing operations and compute the resulting storage root. |
set | Set |
start_transaction | Start a new nested transaction. |