pub trait WeightInfo {
// Required methods
fn process_block_aggregated_values() -> Weight;
fn process_intermediate_aggregated_values() -> Weight;
}Expand description
Weight functions needed for pallet_price_aggregator.
Required Methods§
fn process_block_aggregated_values() -> Weight
fn process_intermediate_aggregated_values() -> 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 process_intermediate_aggregated_values() -> Weight
fn process_intermediate_aggregated_values() -> Weight
Storage: PriceAggregator::ValuesCircularBuffer (r:1 w:1)
Proof: PriceAggregator::ValuesCircularBuffer (max_values: Some(1), max_size: Some(117), added: 612, mode: MaxEncodedLen)