BuildStorage

Trait BuildStorage 

Source
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§

Source

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

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

Provided Methods§

Source

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

Build the storage out of this builder.

Implementations on Foreign Types§

Source§

impl BuildStorage for ()

Available on crate feature std only.
Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Implementors§

Source§

impl BuildStorage for Storage

Available on crate feature std only.
Source§

impl BuildStorage for RuntimeGenesisConfig

Available on crate features std only.
Source§

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

Source§

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

Source§

impl<T> BuildStorage for yet_another_teyrchain_runtime::pezkuwi_runtime_common::assigned_slots::GenesisConfig<T>
where T: Config,

Source§

impl<T> BuildStorage for yet_another_teyrchain_runtime::pezkuwi_runtime_common::claims::GenesisConfig<T>
where T: Config,

Source§

impl<T> BuildStorage for yet_another_teyrchain_runtime::pezkuwi_runtime_common::paras_registrar::GenesisConfig<T>
where T: Config,

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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