Fix for rust commit 3dcd2157403163789aaf21a9ab3c4d30a7c6494d 'Switch to ...

...purely namespaced enums'
I have no problem with renaming them. See the below for other comments.