Skip to content

Commit

Permalink
control_packet: Derive Eq and Copy for CommandCode
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Johnston <[email protected]>
  • Loading branch information
mkj authored and alistair23 committed Oct 1, 2024
1 parent a687dc8 commit 77fe95f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/control_packet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ bitfield! {
}

/// A list of supported Command Codes
#[derive(PartialEq, Debug, Clone, Copy, Eq)]
pub enum CommandCode {
/// Reserved
Reserved = 0x00,
Expand Down

0 comments on commit 77fe95f

Please sign in to comment.