referrerpolicy=no-referrer-when-downgrade

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;
    fn check_only_sudo_account() -> 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

source

fn check_only_sudo_account() -> 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)

source§

fn check_only_sudo_account() -> Weight

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

Implementors§

source§

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