Trait WeightInfo

Source
pub trait WeightInfo {
    // Required method
    fn set(v: u32) -> Weight;
}
Expand description

Weight functions needed for pallet_session_validator_management.

Required Methods§

Source

fn set(v: 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 set(v: u32) -> Weight

Storage: Aura::CurrentSlot (r:1 w:0) Proof: Aura::CurrentSlot (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) Storage: SessionCommitteeManagement::Committee (r:1 w:1) Proof: SessionCommitteeManagement::Committee (max_values: None, max_size: Some(1073), added: 3548, mode: MaxEncodedLen) The range of component v is [0, 32].

Implementors§

Source§

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