macro_rules! EnumFromStr {
    (() $vis:vis enum $name:ident { $($body:tt)* }) => { ... };
}
Expand description

Derives FromStr for an unitary enum. It requires an exact match of the variant name.