Maybe, more adequate type for it must be enum , instead of primitive ?
I was able to find this in terms of prior discussion:
https://github.com/rust-lang/rfcs/issues/348