From a0b5edca89644c2dc4fcf590a5b0efd9d29da2fd Mon Sep 17 00:00:00 2001 From: Herbert Wolverson Date: Thu, 24 Oct 2024 12:40:18 -0500 Subject: [PATCH] FlowbeeData is also trivially copyable. --- src/rust/lqos_sys/src/flowbee_data.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rust/lqos_sys/src/flowbee_data.rs b/src/rust/lqos_sys/src/flowbee_data.rs index fac82c57..6bfb4440 100644 --- a/src/rust/lqos_sys/src/flowbee_data.rs +++ b/src/rust/lqos_sys/src/flowbee_data.rs @@ -25,7 +25,7 @@ pub struct FlowbeeKey { } /// Mapped representation of the eBPF `flow_data_t` type. -#[derive(Debug, Clone, Default, FromBytes)] +#[derive(Debug, Clone, Copy, Default, FromBytes)] #[repr(C)] pub struct FlowbeeData { /// Time (nanos) when the connection was established