Expand description
How an executor’s run ended, as Metrics::on_executor_run reports it.
A bounded set, so a dashboard can list every value.
Constants§
- ABORTED
- The future ended without returning a result: the executor panicked, or the run was dropped.
- BUDGET_
EXHAUSTED - A budget ran out: the executor timeout passed (the future was dropped), or the caller’s deadline or tokens did.
- CANCELED
- The task was canceled or halted, or the server was shutting down, when the executor returned.
- COMPLETED
- The executor returned
Ok. - ERROR
- It returned an error that is not a spent budget.