Trait pallet_sudo::weights::WeightInfo

source ·
pub trait WeightInfo {
    // Required methods
    fn set_key() -> Weight;
    fn sudo() -> Weight;
    fn sudo_as() -> Weight;
    fn remove_key() -> Weight;
}
Expand description

Weight functions needed for pallet_sudo.

Required Methods§

source

fn set_key() -> Weight

source

fn sudo() -> Weight

source

fn sudo_as() -> Weight

source

fn remove_key() -> Weight

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl WeightInfo for ()

source§

fn set_key() -> Weight

Storage: Sudo::Key (r:1 w:1) Proof: Sudo::Key (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)

source§

fn sudo() -> Weight

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

source§

fn sudo_as() -> Weight

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

source§

fn remove_key() -> Weight

Storage: Sudo::Key (r:1 w:1) Proof: Sudo::Key (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)

Implementors§

source§

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