Type Alias confget::backend::DataRead

source ·
pub type DataRead = (FileData, String);
Expand description

The variables read from the input data and the first section name.

The Backend::read_file method returns two values: a mapping of section names to variable => value mappings, and the name of the first section encountered in the input data. The latter is particularly useful for the “ini” backend where confget will behave differently depending on the Config::section_override setting.