Trait mz_dyncfg::ConfigDefault
source · pub trait ConfigDefault: Clone {
type ConfigType: ConfigType;
// Required method
fn into_config_type(self) -> Self::ConfigType;
}
Expand description
A trait for a type that can be used as a default for a Config
.
Required Associated Types§
type ConfigType: ConfigType
Required Methods§
sourcefn into_config_type(self) -> Self::ConfigType
fn into_config_type(self) -> Self::ConfigType
Converts into the config type.
Object Safety§
This trait is not object safe.