pub fn link_instance<V>(
engine: &Engine,
linker: &mut LinkerInstance<'_, V>,
guest_resources: impl Into<Arc<[ResourceType]>>,
host_resources: impl Into<Arc<HashMap<Box<str>, HashMap<Box<str>, (ResourceType, ResourceType)>>>>,
ty: ComponentInstance,
name: impl Into<Arc<str>>,
) -> Result<()>
Expand description
Polyfill types::ComponentInstance
in a LinkerInstance
using wrpc_transport::Invoke