From 836245f20c76ace5291cffa0eff48d0929809c7e Mon Sep 17 00:00:00 2001 From: Evan Rittenhouse Date: Fri, 23 Aug 2024 00:35:12 -0500 Subject: [PATCH] Make PathStats copy --- quiche/src/path.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quiche/src/path.rs b/quiche/src/path.rs index bca1112b9e..cf9b8b1a4e 100644 --- a/quiche/src/path.rs +++ b/quiche/src/path.rs @@ -829,7 +829,7 @@ impl PathMap { /// It is part of the `Stats` structure returned by the [`stats()`] method. /// /// [`stats()`]: struct.Connection.html#method.stats -#[derive(Clone)] +#[derive(Copy, Clone)] pub struct PathStats { /// The local address of the path. pub local_addr: SocketAddr,