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
Object Safety§
This trait is not object safe.
Implementations on Foreign Types§
source§impl WeightInfo for ()
impl WeightInfo for ()
source§fn do_something() -> Weight
fn do_something() -> Weight
Storage: Template Something (r:0 w:1) Proof: Template Something (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
source§fn cause_error() -> Weight
fn cause_error() -> Weight
Storage: Template Something (r:1 w:1) Proof: Template Something (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)