Skip to main content

plan

Function plan 

Source
pub fn plan(
    file: &SettingsFile,
    declared: &dyn Fn(&str) -> Option<Declared>,
    obsolete: &dyn Fn(&str) -> Option<String>,
) -> Vec<Row>
Expand description

Judges each value of a file against the settings declared here (declared) and those retired (obsolete, with what replaced them). The rows are in the file’s order (by id); the sensitive settings the file left out come last.