Function toml_env::initialize

source ·
pub fn initialize<'a, M, C>(args: Args<'a, M>) -> Result<Option<C>>where
    C: DeserializeOwned + Serialize,
    M: IntoIterator<Item = (&'a str, TomlKeyPath)> + Clone,
Expand description

Initialize configuration from available sources specified in Args.

If no configuration was found, will return None.

See toml-env.