wrpc_runtime_wasmtime

Function link_instance

source
pub fn link_instance<V>(
    engine: &Engine,
    linker: &mut LinkerInstance<'_, V>,
    resources: impl Into<Arc<[ResourceType]>>,
    ty: ComponentInstance,
    name: impl Into<Arc<str>>,
    cx: <V::Invoke as Invoke>::Context,
) -> Result<()>
where V: WrpcView + WasiView, <V::Invoke as Invoke>::Context: Clone + 'static,
Expand description