Skip to main content

needs

Function needs 

Source
pub async fn needs(
    cx: &Context,
    requirements: &[Requirement],
    asking: &Asking<'_>,
) -> Vec<Need>
Expand description

Each of requirements asked of the context’s host: present or not, and, unless it is known to be, the plan that brings it (install::plan for a tool, the hypervisor’s own install or its vendor’s page, the plugin’s vagrant plugin install, the engine’s start); a hypervisor installed that KVM keeps from running, KVM set to share (Plan::ShareVirtualization). Asking only reads: nothing is installed, started or changed.