Skip to content

Commit fcd40b5

Browse files
authored
Merge pull request #946 from umi-eng/dhcp-event-clone
Add `Clone` trait to DHCP Event type
2 parents 23697fa + 7604ea3 commit fcd40b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/socket/dhcpv4.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ impl Default for RetryConfig {
140140
}
141141

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

0 commit comments

Comments
 (0)