system-configuration-rs icon indicating copy to clipboard operation
system-configuration-rs copied to clipboard

Require 'static + Send + Sync for proxy callback info?

Open Congyuwang opened this issue 1 year ago • 1 comments

https://github.com/mullvad/system-configuration-rs/blob/fd43df6f57de954878d824c14c08b57045e46e76/system-configuration/src/dynamic_store.rs#L35-L44

Congyuwang avatar Jul 20 '24 09:07 Congyuwang

Shouldn't we require T to be 'static + Send + Sync since it is used as &mut T in callback?

Congyuwang avatar Jul 20 '24 09:07 Congyuwang