Skip to content

Commit

Permalink
Merge pull request #946 from umi-eng/dhcp-event-clone
Browse files Browse the repository at this point in the history
Add `Clone` trait to DHCP Event type
  • Loading branch information
whitequark authored Jul 3, 2024
2 parents 23697fa + 7604ea3 commit fcd40b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/socket/dhcpv4.rs
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ impl Default for RetryConfig {
}

/// Return value for the `Dhcpv4Socket::poll` function
#[derive(Debug, PartialEq, Eq)]
#[derive(Debug, PartialEq, Eq, Clone)]
#[cfg_attr(feature = "defmt", derive(defmt::Format))]
pub enum Event<'a> {
/// Configuration has been lost (for example, the lease has expired)
Expand Down

0 comments on commit fcd40b5

Please sign in to comment.