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.