pub type SchedulerEvent = SchedulerEvent;
Aliased Type§
enum SchedulerEvent {
Scheduled {
when: u32,
index: u32,
},
Canceled {
when: u32,
index: u32,
},
Dispatched {
task: (u32, u32),
id: Option<[u8; 32]>,
result: Result<(), DispatchError>,
},
CallUnavailable {
task: (u32, u32),
id: Option<[u8; 32]>,
},
PeriodicFailed {
task: (u32, u32),
id: Option<[u8; 32]>,
},
PermanentlyOverweight {
task: (u32, u32),
id: Option<[u8; 32]>,
},
}
Variants§
Scheduled
Scheduled some task.
Canceled
Canceled some task.
Dispatched
Dispatched some task.
The call for the provided hash was not found so the task has been aborted.
PeriodicFailed
The given task was unable to be renewed since the agenda is full at that block.
PermanentlyOverweight
The given task can never be executed since it is overweight.