From fcf434417cd1d1bd3250e4d55f3efdfaa574d7b1 Mon Sep 17 00:00:00 2001 From: ssrlive <30760636+ssrlive@users.noreply.github.com> Date: Mon, 2 Sep 2024 15:31:09 +0800 Subject: [PATCH] make 'Session' clonable --- src/session.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/session.rs b/src/session.rs index b3f6f75..1c123f7 100644 --- a/src/session.rs +++ b/src/session.rs @@ -9,6 +9,7 @@ use windows_sys::Win32::{ }; /// Wrapper around a +#[derive(Clone)] pub struct Session { /// The session handle given to us by WintunStartSession pub(crate) session: UnsafeHandle,