referrerpolicy=no-referrer-when-downgrade

WeightInfo

Trait WeightInfo 

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

Weight functions needed for pallet_staking_async_rc_client.

Required Methods§

Source

fn set_keys() -> Weight

Source

fn purge_keys() -> 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 set_keys() -> Weight

Source§

fn purge_keys() -> Weight

Implementors§

Source§

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