wireguard-rs icon indicating copy to clipboard operation
wireguard-rs copied to clipboard

Clone trait for the WGApi ?

Open Altagen opened this issue 2 years ago • 2 comments

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

Altagen avatar Oct 19 '23 10:10 Altagen

+1 to this.

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

master-hax avatar Nov 06 '23 03:11 master-hax

any updates here? cc @teon

master-hax avatar Jun 29 '24 01:06 master-hax