Lines Matching refs:component

10     instance_pre: wasmtime::component::InstancePre<T>,
28 instance_pre: wasmtime::component::InstancePre<_T>, in new()
36 pub fn instance_pre(&self) -> &wasmtime::component::InstancePre<_T> { in instance_pre()
119 _instance_pre: &wasmtime::component::InstancePre<_T>, in new()
121 let _component = _instance_pre.component(); in new()
150 instance: &wasmtime::component::Instance, in load()
171 component: &wasmtime::component::Component, in instantiate()
172 linker: &wasmtime::component::Linker<_T>, in instantiate()
174 let pre = linker.instantiate_pre(component)?; in instantiate()
181 instance: &wasmtime::component::Instance, in new()
190 component: &wasmtime::component::Component, in instantiate_async()
191 linker: &wasmtime::component::Linker<_T>, in instantiate_async()
196 let pre = linker.instantiate_pre(component)?; in instantiate_async()
200 linker: &mut wasmtime::component::Linker<T>, in add_to_linker()
236 use wasmtime::component::__internal::Box;
238 pub trait HostYWithStore: wasmtime::component::HasData {}
241 _T: wasmtime::component::HasData,
246 rep: wasmtime::component::Resource<Y>, in drop()
252 rep: wasmtime::component::Resource<Y>, in drop()
257 pub trait HostWithStore: wasmtime::component::HasData + HostYWithStore + Send {}
260 _T: wasmtime::component::HasData + HostYWithStore + Send,
265 linker: &mut wasmtime::component::Linker<T>, in add_to_linker()
276 wasmtime::component::ResourceType::host::<Y>(), in add_to_linker()
278 wasmtime::component::__internal::Box::new(async move { in add_to_linker()
282 wasmtime::component::Resource::new_own(rep), in add_to_linker()
300 use wasmtime::component::__internal::Box;
301 pub type A = wasmtime::component::ResourceAny;
307 constructor_a_constructor: wasmtime::component::Func,
308 static_a_static_a: wasmtime::component::Func,
309 method_a_method_a: wasmtime::component::Func,
313 constructor_a_constructor: wasmtime::component::ComponentExportIndex,
314 static_a_static_a: wasmtime::component::ComponentExportIndex,
315 method_a_method_a: wasmtime::component::ComponentExportIndex,
325 _instance_pre: &wasmtime::component::InstancePre<_T>, in new()
328 .component() in new()
337 .component() in new()
359 instance: &wasmtime::component::Instance, in load()
369 (wasmtime::component::ResourceAny,), in load()
380 (wasmtime::component::ResourceAny,), in load()
400 ) -> wasmtime::Result<wasmtime::component::ResourceAny> in call_constructor()
405 wasmtime::component::TypedFunc::< in call_constructor()
407 (wasmtime::component::ResourceAny,), in call_constructor()
423 wasmtime::component::TypedFunc::< in call_static_a()
436 arg0: wasmtime::component::ResourceAny, in call_method_a()
442 wasmtime::component::TypedFunc::< in call_method_a()
443 (wasmtime::component::ResourceAny,), in call_method_a()
457 use wasmtime::component::__internal::Box;
459 pub type A = wasmtime::component::ResourceAny;
465 constructor_a_constructor: wasmtime::component::Func,
466 static_a_static_a: wasmtime::component::Func,
467 method_a_method_a: wasmtime::component::Func,
471 constructor_a_constructor: wasmtime::component::ComponentExportIndex,
472 static_a_static_a: wasmtime::component::ComponentExportIndex,
473 method_a_method_a: wasmtime::component::ComponentExportIndex,
483 _instance_pre: &wasmtime::component::InstancePre<_T>, in new()
486 .component() in new()
495 .component() in new()
517 instance: &wasmtime::component::Instance, in load()
526 (wasmtime::component::Resource<Y>,), in load()
527 (wasmtime::component::ResourceAny,), in load()
533 (wasmtime::component::Resource<Y>,), in load()
539 wasmtime::component::ResourceAny, in load()
540 wasmtime::component::Resource<Y>, in load()
542 (wasmtime::component::Resource<Y>,), in load()
561 arg0: wasmtime::component::Resource<Y>, in call_constructor()
562 ) -> wasmtime::Result<wasmtime::component::ResourceAny> in call_constructor()
567 wasmtime::component::TypedFunc::< in call_constructor()
568 (wasmtime::component::Resource<Y>,), in call_constructor()
569 (wasmtime::component::ResourceAny,), in call_constructor()
580 ) -> wasmtime::Result<wasmtime::component::Resource<Y>> in call_static_a()
585 wasmtime::component::TypedFunc::< in call_static_a()
587 (wasmtime::component::Resource<Y>,), in call_static_a()
598 arg0: wasmtime::component::ResourceAny, in call_method_a()
599 arg1: wasmtime::component::Resource<Y>, in call_method_a()
600 ) -> wasmtime::Result<wasmtime::component::Resource<Y>> in call_method_a()
605 wasmtime::component::TypedFunc::< in call_method_a()
607 wasmtime::component::ResourceAny, in call_method_a()
608 wasmtime::component::Resource<Y>, in call_method_a()
610 (wasmtime::component::Resource<Y>,), in call_method_a()
623 use wasmtime::component::__internal::Box;
624 pub type A = wasmtime::component::ResourceAny;
630 constructor_a_constructor: wasmtime::component::Func,
634 constructor_a_constructor: wasmtime::component::ComponentExportIndex,
644 _instance_pre: &wasmtime::component::InstancePre<_T>, in new()
647 .component() in new()
656 .component() in new()
674 instance: &wasmtime::component::Instance, in load()
684 (wasmtime::component::ResourceAny,), in load()
699 ) -> wasmtime::Result<wasmtime::component::ResourceAny> in call_constructor()
704 wasmtime::component::TypedFunc::< in call_constructor()
706 (wasmtime::component::ResourceAny,), in call_constructor()
719 use wasmtime::component::__internal::Box;
721 pub type B = wasmtime::component::ResourceAny;
727 constructor_b_constructor: wasmtime::component::Func,
731 constructor_b_constructor: wasmtime::component::ComponentExportIndex,
741 _instance_pre: &wasmtime::component::InstancePre<_T>, in new()
744 .component() in new()
753 .component() in new()
771 instance: &wasmtime::component::Instance, in load()
780 (wasmtime::component::ResourceAny,), in load()
781 (wasmtime::component::ResourceAny,), in load()
796 arg0: wasmtime::component::ResourceAny, in call_constructor()
797 ) -> wasmtime::Result<wasmtime::component::ResourceAny> in call_constructor()
802 wasmtime::component::TypedFunc::< in call_constructor()
803 (wasmtime::component::ResourceAny,), in call_constructor()
804 (wasmtime::component::ResourceAny,), in call_constructor()