referrerpolicy=no-referrer-when-downgrade

Trait polkadot_runtime_common::BuildStorage

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

    // Provided method
    fn build_storage(&self) -> Result<Storage, String> { ... }
}
Expand description

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 ()

§

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

§

impl BuildStorage for Storage

§

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

§

impl<T> BuildStorage for GenesisConfig<T>
where T: Config,

§

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

§

impl<T> BuildStorage for GenesisConfig<T>
where T: Config,

§

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

§

impl<T> BuildStorage for GenesisConfig<T>
where T: Config,

§

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

§

impl<T> BuildStorage for GenesisConfig<T>
where T: Config,

§

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

§

impl<T> BuildStorage for GenesisConfig<T>
where T: Config,

§

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

§

impl<T> BuildStorage for GenesisConfig<T>
where T: Config,

§

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

§

impl<T> BuildStorage for GenesisConfig<T>
where T: Config,

§

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

§

impl<T> BuildStorage for GenesisConfig<T>
where T: Config,

§

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

§

impl<T> BuildStorage for GenesisConfig<T>
where T: Config,

§

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

§

impl<T> BuildStorage for GenesisConfig<T>
where T: Config,

§

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

§

impl<T, I> BuildStorage for GenesisConfig<T, I>
where T: Config<I>, I: 'static,

§

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

§

impl<T, I> BuildStorage for GenesisConfig<T, I>
where T: Config<I>, I: 'static,

§

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

Implementors§

source§

impl<T: Config> BuildStorage for polkadot_runtime_common::assigned_slots::pallet::GenesisConfig<T>

source§

impl<T: Config> BuildStorage for polkadot_runtime_common::claims::pallet::GenesisConfig<T>

source§

impl<T: Config> BuildStorage for polkadot_runtime_common::paras_registrar::pallet::GenesisConfig<T>