pub trait WeightInfo {
// Required method
fn add_number_into_total() -> Weight;
}
Expand description
Weight functions needed for pallet_example_tasks
.
Required Methods§
fn add_number_into_total() -> Weight
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementations on Foreign Types§
Source§impl WeightInfo for ()
impl WeightInfo for ()
Source§fn add_number_into_total() -> Weight
fn add_number_into_total() -> Weight
Storage: TasksExample::Numbers
(r:1 w:1)
Proof: TasksExample::Numbers
(max_values
: None, max_size
: None, mode: Measured
)
Storage: TasksExample::Total
(r:1 w:1)
Proof: TasksExample::Total
(max_values
: Some(1), max_size
: None, mode: Measured
)