pub fn current_thread_id() -> Result<ThreadId, TaskError>
Returns the generation-bearing identity of the calling scheduler thread.