Struct spirit::cfg_loader::Loader [−][src]
pub struct Loader { /* fields omitted */ }
Expand description
The loader of configuration.
This is created by the Builder
. See the module documentation for
details.
Implementations
Loads configuration according to parameters configured on the originating Builder
and on
the command line.
Note that it is possible to load the configuration multiple times during the lifetime of
the Loader
. Each time all the sources are loaded from scratch (even new files in
directories are discovered), so this can be used to reflect configuration changes at
runtime.