use binrw::BinRead; #[derive(BinRead)] enum UnitEnum { A, } fn main() {}