wrpc_runtime_wasmtime

Function collect_instance_resources

source
pub fn collect_instance_resources(
    engine: &Engine,
    ty: &ComponentInstance,
    resources: &mut impl Extend<ResourceType>,
)
Expand description

Recursively iterates the component type and collects all exported resource types