If you want to store the state, but not a value of the type, then a regular enum should suffice. Types in Rust aren't objects, so you can't store them directly. You could do something clever with extra traits and associated types implemented on unit structs to mark something as "a type", but the easiest way is to just use a regular enum and a match.