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§
fn set_key() -> Weight
fn sudo() -> Weight
fn sudo_as() -> Weight
fn remove_key() -> Weight
fn check_only_sudo_account() -> Weight
Object Safety§
This trait is not object safe.
Implementations on Foreign Types§
source§impl WeightInfo for ()
impl WeightInfo for ()
source§fn set_key() -> Weight
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
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
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
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
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
)