Trait 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§