referrerpolicy=no-referrer-when-downgrade

Trait pallet_example_split::weights::WeightInfo

source ·
pub trait WeightInfo {
    // Required methods
    fn do_something() -> Weight;
    fn cause_error() -> Weight;
}
Expand description

Weight functions needed for pallet_template.

Required Methods§

source

fn do_something() -> Weight

source

fn cause_error() -> Weight

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl WeightInfo for ()

source§

fn do_something() -> Weight

Storage: TemplatePallet Something (r:0 w:1) Proof: TemplatePallet Something (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)

source§

fn cause_error() -> Weight

Storage: TemplatePallet Something (r:1 w:1) Proof: TemplatePallet Something (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)

Implementors§

source§

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