pub trait WeightInfo {
// Required methods
fn force_set_inflation_params() -> Weight;
fn force_inflation_recalculation() -> Weight;
fn force_readjust_config() -> Weight;
fn recalculation() -> Weight;
fn hooks_without_recalculation() -> Weight;
}Expand description
Weight functions needed for pallet_inflation.
Required Methods§
fn force_set_inflation_params() -> Weight
fn force_inflation_recalculation() -> Weight
fn force_readjust_config() -> Weight
fn recalculation() -> Weight
fn hooks_without_recalculation() -> 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 force_set_inflation_params() -> Weight
fn force_set_inflation_params() -> Weight
Storage: Inflation::InflationParams (r:0 w:1)
Proof: Inflation::InflationParams (max_values: Some(1), max_size: Some(64), added: 559, mode: MaxEncodedLen)
Source§fn force_inflation_recalculation() -> Weight
fn force_inflation_recalculation() -> Weight
Storage: Inflation::InflationParams (r:1 w:0)
Proof: Inflation::InflationParams (max_values: Some(1), max_size: Some(64), added: 559, mode: MaxEncodedLen)
Source§fn force_readjust_config() -> Weight
fn force_readjust_config() -> Weight
Storage: Inflation::InflationParams (r:1 w:0)
Proof: Inflation::InflationParams (max_values: Some(1), max_size: Some(64), added: 559, mode: MaxEncodedLen)
Source§fn recalculation() -> Weight
fn recalculation() -> Weight
Storage: Inflation::InflationParams (r:1 w:0)
Proof: Inflation::InflationParams (max_values: Some(1), max_size: Some(64), added: 559, mode: MaxEncodedLen)
Source§fn hooks_without_recalculation() -> Weight
fn hooks_without_recalculation() -> Weight
Storage: System::Account (r:2 w:2)
Proof: System::Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)