pub trait WeightInfo {
    // 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;
}
Expand description

Weight functions needed for pallet_scheduler.

Required Methods§

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:1) Proof: Preimage StatusFor (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 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 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) The range of component s is [1, 512].

source§

fn service_task_base() -> Weight

source§

fn service_task_periodic() -> Weight

source§

fn execute_dispatch_signed() -> Weight

source§

fn execute_dispatch_unsigned() -> Weight

Implementors§