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.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Turns self into the result.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.