referrerpolicy=no-referrer-when-downgrade
pallet_babe

Trait WeightInfo

Source
pub trait WeightInfo {
    // Required methods
    fn plan_config_change() -> Weight;
    fn report_equivocation(
        validator_count: u32,
        max_nominators_per_validator: u32,
    ) -> Weight;
}

Required Methods§

Source

fn plan_config_change() -> Weight

Source

fn report_equivocation( validator_count: u32, max_nominators_per_validator: 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 plan_config_change() -> Weight

Source§

fn report_equivocation( validator_count: u32, max_nominators_per_validator: u32, ) -> Weight

Implementors§