pub trait WeightInfo {
// Required methods
fn pay_with_capacity() -> Weight;
fn pay_with_capacity_batch_all(n: u32) -> Weight;
}
Expand description
Weight functions needed for pallet_frequency_tx_payment
.
Required Methods§
fn pay_with_capacity() -> Weight
fn pay_with_capacity_batch_all(n: u32) -> 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 pay_with_capacity_batch_all(n: u32) -> Weight
fn pay_with_capacity_batch_all(n: u32) -> Weight
The range of component n
is [0, 10]
.