Trait EnumX
enumx
pub trait EnumX { type Proto; fn from_proto(src: Self::Proto) -> Self; fn into_proto(self) -> Self::Proto; }
Indicates the prototype for a user-defined exchangeable enum.
type Proto
fn from_proto(src: Self::Proto) -> Self
fn into_proto(self) -> Self::Proto