WASHINGTON — Ask members of the Washington diplomatic corps about the cables that Sir Kim Darroch, the British ambassador who resigned Wednesday, wrote to London describing the dysfunction and chaos of the Trump administration, and their response is uniform: We wrote the same stuff.

“Yes, yes, everyone does,” Gérard Araud, who retired this spring as the French ambassador, said on Wednesday morning of his own missives from Washington. “But fortunately I knew that nothing would remain secret, so I sent them in a most confidential manner.”

So did Mr. Darroch, who, alone and with Mr. Araud, tried to navigate the minefield of serving as the chief representative of a longtime American ally to a president who does not think much of the value of alliances.

Mr. Darroch submitted his resignation the morning after Boris Johnson, who this month is likely to become Britain’s next prime minister, notably declined during a televised debate to defend the diplomat and also refused to criticize President Trump.