Canada’s next prime minister has managed the financial crisis, then Brexit and now Trump’s trade war