mirror of
https://github.com/smoltcp-rs/smoltcp.git
synced 2025-09-30 14:20:52 +00:00
Add clone trait to dhcp event
This commit is contained in:
parent
57b1dd4b15
commit
7604ea315b
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user