Use rust type system to force the "special treatment" block
to declare the expected outcome of special treatment.
The TODO comments will be addressed in future commits, for now
let's just encode our expectations.
This commit doesn't compile yet because a bunch of `else { ... }`
blocks are missing. I'll ask Postgres-savvy colleagues to fill
in here.