Function confget::read_ini_file

source ·
pub fn read_ini_file(config: &Config) -> Result<DataRead, ConfgetError>
Expand description

Read an INI-style file with the specified configuration.

Internally constructs an “ini” backend and invokes its Backend::read_file method. The Config object’s filename member must contain a value.

Errors

The same as from IniREBackend::read_file.