Trait smart_config::ConfigSource
source · pub trait ConfigSource {
type Kind: ConfigSourceKind;
// Required method
fn into_contents(self) -> WithOrigin<Map>;
}
Expand description
Source of configuration parameters that can be added to a ConfigRepository
.
Required Associated Types§
sourcetype Kind: ConfigSourceKind
type Kind: ConfigSourceKind
Kind of the source.
Required Methods§
sourcefn into_contents(self) -> WithOrigin<Map>
fn into_contents(self) -> WithOrigin<Map>
Converts this source into config contents.