referrerpolicy=no-referrer-when-downgrade
pallet_tx_pause::weights

Trait WeightInfo

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

Weight functions needed for pallet_tx_pause.

Required Methods§

Source

fn pause() -> Weight

Source

fn unpause() -> 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 pause() -> Weight

Storage: TxPause::PausedCalls (r:1 w:1) Proof: TxPause::PausedCalls (max_values: None, max_size: Some(532), added: 3007, mode: MaxEncodedLen)

Source§

fn unpause() -> Weight

Storage: TxPause::PausedCalls (r:1 w:1) Proof: TxPause::PausedCalls (max_values: None, max_size: Some(532), added: 3007, mode: MaxEncodedLen)

Implementors§

Source§

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