Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Enum is the preferred way to constrcut a sum type of several types (which does not implemente the same trait).
The Rust crate
either
provides an enum Either
(with variants Left …