pub trait ConfigFallback {
type Opts: Serialize + DeserializeOwned + IntoArgs + FromArgs;
type Config: Serialize + DeserializeOwned;
}Expand description
Defines the associated types for config fallback parsing.
Required Associated Types§
Sourcetype Opts: Serialize + DeserializeOwned + IntoArgs + FromArgs
type Opts: Serialize + DeserializeOwned + IntoArgs + FromArgs
Intermediate optional representation used during merge.
Sourcetype Config: Serialize + DeserializeOwned
type Config: Serialize + DeserializeOwned
Config-only representation loaded from file.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".