pub(crate) const COMPLETED: usize = _; // 4usizeExpand description
Set if the task has been completed.
This flag is set when polling returns Poll::Ready. The output of the future is then stored
inside the task until it becomes closed. In fact, Task picks up the output by marking
the task as closed.
This flag can’t be set when the task is scheduled or running.