pub trait WeightInfo {
    // Required methods
    fn batch(c: u32) -> Weight;
    fn as_derivative() -> Weight;
    fn batch_all(c: u32) -> Weight;
    fn dispatch_as() -> Weight;
    fn force_batch(c: u32) -> Weight;
}
Expand description

Weight functions needed for pallet_utility.

Required Methods§

source

fn batch(c: u32) -> Weight

source

fn as_derivative() -> Weight

source

fn batch_all(c: u32) -> Weight

source

fn dispatch_as() -> Weight

source

fn force_batch(c: u32) -> Weight

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl WeightInfo for ()

source§

fn batch(c: u32) -> Weight

The range of component c is [0, 1000].

source§

fn batch_all(c: u32) -> Weight

The range of component c is [0, 1000].

source§

fn force_batch(c: u32) -> Weight

The range of component c is [0, 1000].

source§

fn as_derivative() -> Weight

source§

fn dispatch_as() -> Weight

Implementors§

source§

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