Trait WeightInfo

Source
pub trait WeightInfo {
    // Required method
    fn note_processing() -> Weight;
}
Expand description

Weight functions needed for pallet_block_participation.

Required Methods§

Source

fn note_processing() -> 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 ()

Source§

fn note_processing() -> Weight

Storage: BlockParticipation::ProcessedUpToSlot (r:1 w:1) Proof: BlockParticipation::ProcessedUpToSlot (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) Storage: BlockProductionLog::Log (r:1 w:1) Proof: BlockProductionLog::Log (max_values: Some(1), max_size: None, mode: Measured)

Implementors§

Source§

impl<T: Config> WeightInfo for SubstrateWeight<T>