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§

source

type Kind: ConfigSourceKind

Kind of the source.

Required Methods§

source

fn into_contents(self) -> WithOrigin<Map>

Converts this source into config contents.

Implementors§