A Gentleman’s Agreement

What is the legal definition of a gentleman’s agreement?