pub struct Storage {
pub top: StorageMap,
pub children_default: ChildrenMap,
}Expand description
Struct containing data needed for a storage.
Fields§
§top: StorageMapTop trie storage data.
children_default: ChildrenMapChildren trie storage data. Key does not include prefix, only for the default trie kind,
of ChildType::ParentKeyId type.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Storage
impl RefUnwindSafe for Storage
impl Send for Storage
impl Sync for Storage
impl Unpin for Storage
impl UnwindSafe for Storage
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more