Enum sp_storage::ChildType [−][src]
#[repr(u32)] pub enum ChildType { ParentKeyId, }
Expand description
Type of child. It does not strictly define different child type, it can also be related to technical consideration or api variant.
Variants
If runtime module ensures that the child key is a unique id that will only be used once, its parent key is used as a child trie unique id.
Implementations
Transform a prefixed key into a tuple of the child type and the unprefixed representation of the key.
Returns the location reserved for this child trie in their parent trie if there is one.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ChildType
impl UnwindSafe for ChildType
Blanket Implementations
Mutably borrows from an owned value. Read more