Comment Comment by queoahfh What a peculiar kind of rewrite.Rust:https://github.com/malisper/pgrust/blob/3646a73515a5e4ac7d0b...Original:https://github.com/postgres/postgres/blob/df293aed46e3133df3...Usage:https://github.com/malisper/pgrust/blob/3646a73515a5e4ac7d0b...The return type in the rewrite is both some sort of Error tagged union that supports the Try machinery in Rust; but, it also contains a boolean that apparently must be checked; or something. It seems labyrinthical and possibly broken and terrible. parent queoahfh 4 months ago
Rust:
https://github.com/malisper/pgrust/blob/3646a73515a5e4ac7d0b...
Original:
https://github.com/postgres/postgres/blob/df293aed46e3133df3...
Usage:
https://github.com/malisper/pgrust/blob/3646a73515a5e4ac7d0b...
The return type in the rewrite is both some sort of Error tagged union that supports the Try machinery in Rust; but, it also contains a boolean that apparently must be checked; or something. It seems labyrinthical and possibly broken and terrible.