Trait pallet_template::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§
fn do_something() -> Weight
fn cause_error() -> Weight
Implementations on Foreign Types§
source§impl WeightInfo for ()
impl WeightInfo for ()
source§fn do_something() -> Weight
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
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)