[][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.

Provided methods

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

Build the storage out of this builder.

Implementations on Foreign Types

impl BuildStorage for ()[src][]

Implementors

impl BuildStorage for Storage[src][+]