wrpc_runtime_wasmtime

Function collect_component_resource_imports

Source
pub fn collect_component_resource_imports(
    engine: &Engine,
    ty: &Component,
    resources: &mut BTreeMap<Box<str>, HashMap<Box<str>, ResourceType>>,
)
Expand description

Iterates the component type and collects all imported resource types