pub fn search(
entry: &MachineEntry,
cfg: &Config,
supplies: &[&str],
wanted: &dyn Fn(&str) -> bool,
options: &Options<'_>,
) -> Result<Vec<Candidate>, ConfigError>Expand description
search_supplies with every option of Options: the drives beside the paired one, and a duty mix. With a mix,
cfg is the first duty’s config (Options::duties).