Haven't used Rust, but I wonder what you could use in place of the phantom types? Are Traits capable of filling this role? Am I completely misreading what Traits are?
Can Rust still do phantom types, and I just can't see them anywhere in the language reference?