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§
fn set_enable_domains() -> Weight
fn set_enable_dynamic_cost_of_storage() -> Weight
fn set_enable_balance_transfers() -> Weight
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 ()
impl WeightInfo for ()
source§fn set_enable_domains() -> Weight
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
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
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
)