pub struct DefaultConfigurationSection { /* private fields */ }
Expand description

Represent a configuration section.

Implementations

Initializes a new configuration section.

Arguments
  • root - A reference to the configuration root
  • path - The path of the configuration section

Trait Implementations

Gets the configuration value. Read more
Gets a configuration section with the specified key.
Gets the sequence of child configuration sections.
Returns a change token that can be used to observe when this configuration is reloaded.
Attempts to convert the configuration as a configuration section.
Gets an iterator of the key/value pairs within the configuration. Read more
Gets an iterator of the key/value pairs within the configuration.
Gets the key this section occupies in its parent.
Gets the full path to this section within the configuration.
Gets the section value.
The resulting type after dereferencing.
Dereferences the value.

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.