[][src]Trait sr_primitives::BuildStorage

pub trait BuildStorage: Sized {
    fn assimilate_storage(
        self,
        storage: &mut (StorageOverlay, ChildrenStorageOverlay)
    ) -> Result<(), String>; fn build_storage(
        self
    ) -> Result<(StorageOverlay, ChildrenStorageOverlay), String> { ... } }

Complex storage builder stuff.

Required methods

fn assimilate_storage(
    self,
    storage: &mut (StorageOverlay, ChildrenStorageOverlay)
) -> Result<(), String>

Assimilate the storage for this module into pre-existing overlays.

Loading content...

Provided methods

fn build_storage(
    self
) -> Result<(StorageOverlay, ChildrenStorageOverlay), String>

Build the storage out of this builder.

Loading content...

Implementations on Foreign Types

impl BuildStorage for (StorageOverlay, ChildrenStorageOverlay)[src]

Loading content...

Implementors

Loading content...