sfackler/rust-postgres — pull request #40 by mikedilger (2014-06-20 22:21:58+00:00)
Title: Show trait for SQLSTATEs:

Useful for, if nothing else, debugging to determine which
SQLSTATE occurred w/o comparing against a hundred or so possible
states, nor loosely interpreting the message.