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 <matt@codeconstruct.com.au>
  • Loading branch information
mkj committed Sep 27, 2024
1 parent 45283b2 commit d9e5532
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 d9e5532

Please sign in to comment.