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

Weight functions needed for pallet_template.

Required Methods§

Implementations on Foreign Types§

source§

impl WeightInfo for ()

source§

fn do_something() -> Weight

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

source§

fn cause_error() -> Weight

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

Implementors§