Skip to content

Commit 44f7603

Browse files
committed
control_packet: Derive Eq and Copy for CommandCode
Signed-off-by: Matt Johnston <[email protected]>
1 parent f153816 commit 44f7603

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: src/control_packet.rs

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ bitfield! {
2121
}
2222

2323
/// A list of supported Command Codes
24+
#[derive(PartialEq, Debug, Clone, Copy, Eq)]
2425
pub enum CommandCode {
2526
/// Reserved
2627
Reserved = 0x00,

0 commit comments

Comments
 (0)