link_instance

Function link_instance 

Source
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<()>
where V: WrpcView,
Expand description