Enums cannot have methods or functions. In Inference, enums are like in C macro so just convenient markers for developers.