Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clone trait for the WGApi ? #29

Open
Ange-Cesari opened this issue Oct 19, 2023 · 1 comment
Open

Clone trait for the WGApi ? #29

Ange-Cesari opened this issue Oct 19, 2023 · 1 comment

Comments

@Ange-Cesari
Copy link

Hey,

Would it be possible to add the clone trait to this structure ?
The lifetime can't be extended because there is no copy trait.

best,
Ange

@master-hax
Copy link

+1 to this.

as a workaround, i have been using the raw WireguardApiLinux, which does implement clone,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants