Dave Rank was the top US diplomat in China until President Donald Trump announced he would pull the US out of the Paris Climate Agreement. That’s when he knew his 27-year career in the US foreign service would be over.