macro_rules! module_plugin_static_trait_define_config { ( $(#[$outer:meta])* $dyn_newtype:ident, $static_trait:ident, $dyn_trait:ident, { $($extra_methods:tt)* }, { $($extra_impls:tt)* }, { $($extra_impls_unknown:tt)* } ) => { ... }; }
Expand description
A copy of module_lugin_static_trait_define
but for ClientConfig
, which
is a snowflake that requires : Serialize
and conditional implementation
for DynUnknown
. The macro is getting gnarly, so seems easier to
copy-paste-modify, than pile up conditional argument.