From: Victor Julien Date: Sat, 30 May 2020 18:34:41 +0000 (+0200) Subject: app-layer: support Copy and Clone traits in AppLayerResult X-Git-Tag: suricata-6.0.0-beta1~399 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a2434ed4d6355033e9399a8b8bb988b0d8bca6b;p=thirdparty%2Fsuricata.git app-layer: support Copy and Clone traits in AppLayerResult --- diff --git a/rust/src/applayer.rs b/rust/src/applayer.rs index efc322da3f..48586e7cd7 100644 --- a/rust/src/applayer.rs +++ b/rust/src/applayer.rs @@ -25,7 +25,7 @@ use crate::applayer; use std::os::raw::{c_void,c_char,c_int}; #[repr(C)] -#[derive(Debug,PartialEq)] +#[derive(Debug,PartialEq,Copy,Clone)] pub struct AppLayerResult { pub status: i32, pub consumed: u32,