Function toml_env::initialize

source ·
pub fn initialize<C: DeserializeOwned + Serialize>(
    args: Args<'_>
) -> Result<Option<C>>
Expand description

Initialize configuration from available sources specified in Args.

If no configuration was found, will return None.

See toml-env.