pallet_elections::pallet

Trait WeightInfo

Source
pub trait WeightInfo {
    // Required method
    fn try_elect_shards(b: u32) -> Weight;
}

Required Methods§

Source

fn try_elect_shards(b: 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 ()

Source§

fn try_elect_shards(_: u32) -> Weight

Implementors§