Enum delay_timer::timer::timer_core::TimerEvent [−][src]
pub enum TimerEvent {
StopTimer,
AddTask(Box<Task>),
InsertTask(Box<Task>, TaskInstancesChainMaintainer),
UpdateTask(Box<Task>),
RemoveTask(u64),
CancelTask(u64, i64),
TimeoutTask(u64, i64),
FinishTask(FinishTaskBody),
AppendTaskHandle(u64, DelayTaskHandlerBox),
AdvanceTask(u64),
}Expand description
Event for Timer Wheel Core.
Variants
Expand description
Stop the Timer.
Expand description
Add a new Task.
Expand description
Insert a new Task.
Maintain a state that is transparent to the user, such as the end of a task running instance.
Expand description
Update a Task in Timer .
RemoveTask(u64)Expand description
Remove a Task in Timer .
Expand description
Cancel a Task running instance in Timer .
Expand description
Cancel a timeout Task running instance in Timer .
FinishTask(FinishTaskBody)Expand description
Finished a Task running instance in Timer .
AppendTaskHandle(u64, DelayTaskHandlerBox)Expand description
Append a new instance of a running task .
AdvanceTask(u64)Expand description
Take the initiative to perform once Task.
Trait Implementations
impl Debug for TimerEvent[src]
impl Debug for TimerEvent[src]impl TryFrom<&'_ TimerEvent> for PublicEvent[src]
impl TryFrom<&'_ TimerEvent> for PublicEvent[src]This is supported on crate feature
status-report only.