Skip to main content

recommended

Function recommended 

Source
pub fn recommended(
    category: Option<InstallCategory>,
    total_memory_bytes: u64,
    providers: Option<&HashSet<InstallProviderId>>,
) -> Vec<InstallCatalogEntry>
Expand description

Up to three recommended entries for total_memory_bytes, optionally scoped to a category and/or a set of providers. Entries that run well are preferred (the largest three that do); if none fit, the single smallest scoped entry is returned so there’s always a suggestion.