pallet_subspace::extensions::weights

Trait WeightInfo

Source
pub trait WeightInfo {
    // Required methods
    fn vote() -> Weight;
    fn vote_with_equivocation() -> Weight;
}
Expand description

Weight functions needed for pallet subspace extension.

Required Methods§

Source

fn vote() -> Weight

Source

fn vote_with_equivocation() -> 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.

Implementors§

Source§

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