Skip to main content

compare_update_section

Function compare_update_section 

Source
pub fn compare_update_section(
    source: &dyn SettingsSource,
    name: &str,
    expected: &Map<String, Value>,
    values: Map<String, Value>,
) -> Result<ConditionalUpdate>
Expand description

SettingsSource::compare_update_sections of one section: merge values into name only if it still holds expected.

ยงErrors

As SettingsSource::update_section.