Enum delay_timer::utils::status_report::PublicEvent [−][src]
pub enum PublicEvent {
RemoveTask(u64),
RunningTask(u64, i64),
FinishTask(PublicFinishTaskBody),
TimeoutTask(u64, i64),
}This is supported on crate feature
status-report only.Expand description
PublicEvent, describes the open events that occur in the delay-timer of the task.
Variants
RemoveTask(u64)Describes which task is removed.
Describes which task produced a new running instance, record the id.
FinishTask(PublicFinishTaskBody)Describe which task instance completed.
Describe which task instance timeout .
Implementations
Get the task_id corresponding to the event.
Get the record_id corresponding to the event.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PublicEventimpl Send for PublicEventimpl Sync for PublicEventimpl Unpin for PublicEventimpl UnwindSafe for PublicEventBlanket Implementations
Mutably borrows from an owned value. Read more