pub trait WeightInfo {
Show 17 methods // Required methods fn service_agendas_base() -> Weight; fn service_agenda_base(s: u32) -> Weight; fn service_task_base() -> Weight; fn service_task_fetched(s: u32) -> Weight; fn service_task_named() -> Weight; fn service_task_periodic() -> Weight; fn execute_dispatch_signed() -> Weight; fn execute_dispatch_unsigned() -> Weight; fn schedule(s: u32) -> Weight; fn cancel(s: u32) -> Weight; fn schedule_named(s: u32) -> Weight; fn cancel_named(s: u32) -> Weight; fn schedule_retry(s: u32) -> Weight; fn set_retry() -> Weight; fn set_retry_named() -> Weight; fn cancel_retry() -> Weight; fn cancel_retry_named() -> Weight;
}
Expand description

Weight functions needed for pallet_scheduler.

Required Methods§

source

fn service_agendas_base() -> Weight

source

fn service_agenda_base(s: u32) -> Weight

source

fn service_task_base() -> Weight

source

fn service_task_fetched(s: u32) -> Weight

source

fn service_task_named() -> Weight

source

fn service_task_periodic() -> Weight

source

fn execute_dispatch_signed() -> Weight

source

fn execute_dispatch_unsigned() -> Weight

source

fn schedule(s: u32) -> Weight

source

fn cancel(s: u32) -> Weight

source

fn schedule_named(s: u32) -> Weight

source

fn cancel_named(s: u32) -> Weight

source

fn schedule_retry(s: u32) -> Weight

source

fn set_retry() -> Weight

source

fn set_retry_named() -> Weight

source

fn cancel_retry() -> Weight

source

fn cancel_retry_named() -> Weight

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl WeightInfo for ()

source§

fn service_agendas_base() -> Weight

Storage: Scheduler::IncompleteSince (r:1 w:1) Proof: Scheduler::IncompleteSince (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)

source§

fn service_agenda_base(s: u32) -> Weight

Storage: Scheduler::Agenda (r:1 w:1) Proof: Scheduler::Agenda (max_values: None, max_size: Some(107022), added: 109497, mode: MaxEncodedLen) The range of component s is [0, 512].

source§

fn service_task_fetched(s: u32) -> Weight

Storage: Preimage::PreimageFor (r:1 w:1) Proof: Preimage::PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: Measured) Storage: Preimage::StatusFor (r:1 w:0) Proof: Preimage::StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) Storage: Preimage::RequestStatusFor (r:1 w:1) Proof: Preimage::RequestStatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) The range of component s is [128, 4194304].

source§

fn service_task_named() -> Weight

Storage: Scheduler::Lookup (r:0 w:1) Proof: Scheduler::Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)

source§

fn execute_dispatch_signed() -> Weight

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

source§

fn schedule(s: u32) -> Weight

Storage: Scheduler::Agenda (r:1 w:1) Proof: Scheduler::Agenda (max_values: None, max_size: Some(107022), added: 109497, mode: MaxEncodedLen) The range of component s is [0, 511].

source§

fn cancel(s: u32) -> Weight

Storage: Scheduler::Agenda (r:1 w:1) Proof: Scheduler::Agenda (max_values: None, max_size: Some(107022), added: 109497, mode: MaxEncodedLen) Storage: Scheduler::Retries (r:0 w:1) Proof: Scheduler::Retries (max_values: None, max_size: Some(30), added: 2505, mode: MaxEncodedLen) Storage: Scheduler::Lookup (r:0 w:1) Proof: Scheduler::Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) The range of component s is [1, 512].

source§

fn schedule_named(s: u32) -> Weight

Storage: Scheduler::Lookup (r:1 w:1) Proof: Scheduler::Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) Storage: Scheduler::Agenda (r:1 w:1) Proof: Scheduler::Agenda (max_values: None, max_size: Some(107022), added: 109497, mode: MaxEncodedLen) The range of component s is [0, 511].

source§

fn cancel_named(s: u32) -> Weight

Storage: Scheduler::Lookup (r:1 w:1) Proof: Scheduler::Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) Storage: Scheduler::Agenda (r:1 w:1) Proof: Scheduler::Agenda (max_values: None, max_size: Some(107022), added: 109497, mode: MaxEncodedLen) Storage: Scheduler::Retries (r:0 w:1) Proof: Scheduler::Retries (max_values: None, max_size: Some(30), added: 2505, mode: MaxEncodedLen) The range of component s is [1, 512].

source§

fn schedule_retry(s: u32) -> Weight

Storage: Scheduler::Agenda (r:1 w:1) Proof: Scheduler::Agenda (max_values: None, max_size: Some(107022), added: 109497, mode: MaxEncodedLen) Storage: Scheduler::Retries (r:0 w:1) Proof: Scheduler::Retries (max_values: None, max_size: Some(30), added: 2505, mode: MaxEncodedLen) The range of component s is [1, 512].

source§

fn set_retry() -> Weight

Storage: Scheduler::Agenda (r:1 w:0) Proof: Scheduler::Agenda (max_values: None, max_size: Some(107022), added: 109497, mode: MaxEncodedLen) Storage: Scheduler::Retries (r:0 w:1) Proof: Scheduler::Retries (max_values: None, max_size: Some(30), added: 2505, mode: MaxEncodedLen)

source§

fn set_retry_named() -> Weight

Storage: Scheduler::Lookup (r:1 w:0) Proof: Scheduler::Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) Storage: Scheduler::Agenda (r:1 w:0) Proof: Scheduler::Agenda (max_values: None, max_size: Some(107022), added: 109497, mode: MaxEncodedLen) Storage: Scheduler::Retries (r:0 w:1) Proof: Scheduler::Retries (max_values: None, max_size: Some(30), added: 2505, mode: MaxEncodedLen)

source§

fn cancel_retry() -> Weight

Storage: Scheduler::Agenda (r:1 w:0) Proof: Scheduler::Agenda (max_values: None, max_size: Some(107022), added: 109497, mode: MaxEncodedLen) Storage: Scheduler::Retries (r:0 w:1) Proof: Scheduler::Retries (max_values: None, max_size: Some(30), added: 2505, mode: MaxEncodedLen)

source§

fn cancel_retry_named() -> Weight

Storage: Scheduler::Lookup (r:1 w:0) Proof: Scheduler::Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) Storage: Scheduler::Agenda (r:1 w:0) Proof: Scheduler::Agenda (max_values: None, max_size: Some(107022), added: 109497, mode: MaxEncodedLen) Storage: Scheduler::Retries (r:0 w:1) Proof: Scheduler::Retries (max_values: None, max_size: Some(30), added: 2505, mode: MaxEncodedLen)

source§

fn service_task_base() -> Weight

source§

fn service_task_periodic() -> Weight

source§

fn execute_dispatch_unsigned() -> Weight

Implementors§

source§

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