macro_rules! impl_enum_decode {
($enum_type:ty) => { ... };
}Expand description
Implements DecodeFromReadPrefix and DecodeFromRead for an enum type.
The enum must implement From<proto_packet::io::TagNumber>.
macro_rules! impl_enum_decode {
($enum_type:ty) => { ... };
}Implements DecodeFromReadPrefix and DecodeFromRead for an enum type.
The enum must implement From<proto_packet::io::TagNumber>.