[][src]Trait sp_runtime::BuildStorage

pub trait BuildStorage {
    fn assimilate_storage(&self, storage: &mut Storage) -> Result<(), String>;

    fn build_storage(&self) -> Result<Storage, String> { ... }
}

Complex storage builder stuff.

Required methods

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

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

Loading content...

Provided methods

fn build_storage(&self) -> Result<Storage, String>

Build the storage out of this builder.

Loading content...

Implementations on Foreign Types

impl BuildStorage for ()[src]

Loading content...

Implementors

impl BuildStorage for Storage[src]

Loading content...