same_enum generates From trait implementations for enums with the same unit variants.
same_enum
From
Place a #[from(path::to::TargetEnum)] or #[to(path::to::TargetEnum)] attribute above the source enum definition to generate From trait implementations.
#[from(path::to::TargetEnum)]
#[to(path::to::TargetEnum)]