pallet_runtime_configs::weights

Trait WeightInfo

source
pub trait WeightInfo {
    // Required methods
    fn set_enable_domains() -> Weight;
    fn set_enable_dynamic_cost_of_storage() -> Weight;
    fn set_enable_balance_transfers() -> Weight;
}
Expand description

Weight functions needed for pallet_runtime_configs.

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

source§

impl WeightInfo for ()

source§

fn set_enable_domains() -> Weight

Storage: RuntimeConfigs::EnableDomains (r:0 w:1) Proof: RuntimeConfigs::EnableDomains (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen)

source§

fn set_enable_dynamic_cost_of_storage() -> Weight

Storage: RuntimeConfigs::EnableDynamicCostOfStorage (r:0 w:1) Proof: RuntimeConfigs::EnableDynamicCostOfStorage (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen)

source§

fn set_enable_balance_transfers() -> Weight

Storage: RuntimeConfigs::EnableBalanceTransfers (r:0 w:1) Proof: RuntimeConfigs::EnableBalanceTransfers (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen)

Implementors§

source§

impl<T: Config> WeightInfo for SubstrateWeight<T>