pub trait Section {
    // Required methods
    fn name(&self) -> &str;
    fn keys(&self) -> &[&dyn Key];
    // Provided methods
    fn sub_sections(&self) -> &[&dyn Section] { ... }
    fn parent(&self) -> Option<&dyn Section> { ... }
}Expand description
Provide information about a configuration section.
Required Methods§
Provided Methods§
sourcefn sub_sections(&self) -> &[&dyn Section]
 
fn sub_sections(&self) -> &[&dyn Section]
The list of sub-section names, which may be empty if there are no statically known sub-sections.