referrerpolicy=no-referrer-when-downgrade

Trait WeightInfo

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

Required Methods§

Source

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

Source

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

Source§

fn note_stalled() -> Weight

Implementors§