pallet_frequency_tx_payment::weights

Trait WeightInfo

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

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 pay_with_capacity_batch_all(n: u32) -> Weight

The range of component n is [0, 10].

Source§

fn pay_with_capacity() -> Weight

Implementors§

Source§

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