Trait mas_config::ConfigurationSectionExt
source · pub trait ConfigurationSectionExt: ConfigurationSection + Default {
// Provided method
fn extract_or_default(figment: &Figment) -> Result<Self, Error> { ... }
}
Expand description
Extension trait for ConfigurationSection
to allow extracting the
configuration section from a Figment
or return the default value if the
section is not present.
Provided Methods§
Object Safety§
This trait is not object safe.