[−][src]Module frame_support::storage::child
Operation on runtime child storages.
This module is a currently only a variant of unhashed with additional storage_key.
Note that storage_key must be unique and strong (strong in the sense of being long enough to
avoid collision from a resistant hash function (which unique implies)).
A key collision free unique id is required as parameter to avoid key collision between child tries. This unique id management and generation responsability is delegated to pallet module.
Enums
| ChildInfo | Information related to a child state. |
Functions
| child_root | Calculate current child root value. |
| exists | Check to see if |
| get | Return the value of the item in storage under |
| get_or | Return the value of the item in storage under |
| get_or_default | Return the value of the item in storage under |
| get_or_else | Return the value of the item in storage under |
| get_raw | Get a Vec of bytes from storage. |
| kill | Ensure |
| kill_storage | Remove all |
| put | Put |
| put_raw | Put a raw byte slice into storage. |
| take | Remove |
| take_or | Return the value of the item in storage under |
| take_or_default | Remove |
| take_or_else | Return the value of the item in storage under |