referrerpolicy=no-referrer-when-downgrade

WeightInfo

pub trait WeightInfo {
    // Required methods
    fn validate_unsigned() -> Weight;
    fn submit_unsigned() -> Weight;

    // Provided method
    fn mine_solution(_p: u32) -> Weight { ... }
}
Expand description

Weight functions needed for pallet_election_provider_multi_block::unsigned.

Required Methods§

Source

fn validate_unsigned() -> Weight

Source

fn submit_unsigned() -> Weight

Provided Methods§

Source

fn mine_solution(_p: u32) -> 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 ()

Available on crate feature std only.

Implementors§

Source§

impl<T: Config> WeightInfo for pallet_election_provider_multi_block::weights::kusama::MultiBlockUnsignedWeightInfo<T>

Source§

impl<T: Config> WeightInfo for pallet_election_provider_multi_block::weights::polkadot::MultiBlockUnsignedWeightInfo<T>