pallet_history_seeding::weights

Trait WeightInfo

source
pub trait WeightInfo {
    // Required methods
    fn seed_history(b: u32) -> Weight;
    fn set_history_seeder() -> Weight;
}
Expand description

Weight functions needed for pallet_history_seeding.

Required Methods§

source

fn seed_history(b: u32) -> Weight

source

fn set_history_seeder() -> 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 seed_history(b: u32) -> Weight

Storage: HistorySeeding::HistorySeeder (r:1 w:0) Proof: HistorySeeding::HistorySeeder (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) The range of component b is [0, 3932160].

source§

fn set_history_seeder() -> Weight

Storage: HistorySeeding::HistorySeeder (r:0 w:1) Proof: HistorySeeding::HistorySeeder (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)

Implementors§

source§

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