literal-enum
This macro can automatically implement the TryFrom trait and Into trait where the literal
must be only one type
Usage Example
use LiteralEnum;
let b = b'>';
let cmd = try_from.unwrap;
assert!;
let b: u8 = cmd.into;
assert_eq!;