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 {
240 accessor: &wasmtime::component::Accessor<T, Self>, in drop()
241 rep: wasmtime::component::Resource<Y>, in drop()
248 pub trait HostWithStore: wasmtime::component::HasData + HostYWithStore + Send {}
251 _T: wasmtime::component::HasData + HostYWithStore + Send,
256 linker: &mut wasmtime::component::Linker<T>, in add_to_linker()
267 wasmtime::component::ResourceType::host::<Y>(), in add_to_linker()
268 move |caller: &wasmtime::component::Accessor<T>, rep| { in add_to_linker()
269 wasmtime::component::__internal::Box::pin(async move { in add_to_linker()
274 wasmtime::component::Resource::new_own(rep), in add_to_linker()
292 use wasmtime::component::__internal::Box;
293 pub type A = wasmtime::component::ResourceAny;
299 constructor_a_constructor: wasmtime::component::Func,
300 static_a_static_a: wasmtime::component::Func,
301 method_a_method_a: wasmtime::component::Func,
305 constructor_a_constructor: wasmtime::component::ComponentExportIndex,
306 static_a_static_a: wasmtime::component::ComponentExportIndex,
307 method_a_method_a: wasmtime::component::ComponentExportIndex,
317 _instance_pre: &wasmtime::component::InstancePre<_T>, in new()
320 .component() in new()
329 .component() in new()
351 instance: &wasmtime::component::Instance, in load()
361 (wasmtime::component::ResourceAny,), in load()
372 (wasmtime::component::ResourceAny,), in load()
391 accessor: &wasmtime::component::Accessor<_T, _D>, in call_constructor()
392 ) -> wasmtime::Result<wasmtime::component::ResourceAny> in call_constructor()
395 _D: wasmtime::component::HasData, in call_constructor()
398 wasmtime::component::TypedFunc::< in call_constructor()
400 (wasmtime::component::ResourceAny,), in call_constructor()
408 accessor: &wasmtime::component::Accessor<_T, _D>, in call_static_a()
412 _D: wasmtime::component::HasData, in call_static_a()
415 wasmtime::component::TypedFunc::< in call_static_a()
425 accessor: &wasmtime::component::Accessor<_T, _D>, in call_method_a()
426 arg0: wasmtime::component::ResourceAny, in call_method_a()
430 _D: wasmtime::component::HasData, in call_method_a()
433 wasmtime::component::TypedFunc::< in call_method_a()
434 (wasmtime::component::ResourceAny,), in call_method_a()
446 use wasmtime::component::__internal::Box;
448 pub type A = wasmtime::component::ResourceAny;
454 constructor_a_constructor: wasmtime::component::Func,
455 static_a_static_a: wasmtime::component::Func,
456 method_a_method_a: wasmtime::component::Func,
460 constructor_a_constructor: wasmtime::component::ComponentExportIndex,
461 static_a_static_a: wasmtime::component::ComponentExportIndex,
462 method_a_method_a: wasmtime::component::ComponentExportIndex,
472 _instance_pre: &wasmtime::component::InstancePre<_T>, in new()
475 .component() in new()
484 .component() in new()
506 instance: &wasmtime::component::Instance, in load()
515 (wasmtime::component::Resource<Y>,), in load()
516 (wasmtime::component::ResourceAny,), in load()
522 (wasmtime::component::Resource<Y>,), in load()
528 wasmtime::component::ResourceAny, in load()
529 wasmtime::component::Resource<Y>, in load()
531 (wasmtime::component::Resource<Y>,), in load()
549 accessor: &wasmtime::component::Accessor<_T, _D>, in call_constructor()
550 arg0: wasmtime::component::Resource<Y>, in call_constructor()
551 ) -> wasmtime::Result<wasmtime::component::ResourceAny> in call_constructor()
554 _D: wasmtime::component::HasData, in call_constructor()
557 wasmtime::component::TypedFunc::< in call_constructor()
558 (wasmtime::component::Resource<Y>,), in call_constructor()
559 (wasmtime::component::ResourceAny,), in call_constructor()
567 accessor: &wasmtime::component::Accessor<_T, _D>, in call_static_a()
568 ) -> wasmtime::Result<wasmtime::component::Resource<Y>> in call_static_a()
571 _D: wasmtime::component::HasData, in call_static_a()
574 wasmtime::component::TypedFunc::< in call_static_a()
576 (wasmtime::component::Resource<Y>,), in call_static_a()
584 accessor: &wasmtime::component::Accessor<_T, _D>, in call_method_a()
585 arg0: wasmtime::component::ResourceAny, in call_method_a()
586 arg1: wasmtime::component::Resource<Y>, in call_method_a()
587 ) -> wasmtime::Result<wasmtime::component::Resource<Y>> in call_method_a()
590 _D: wasmtime::component::HasData, in call_method_a()
593 wasmtime::component::TypedFunc::< in call_method_a()
595 wasmtime::component::ResourceAny, in call_method_a()
596 wasmtime::component::Resource<Y>, in call_method_a()
598 (wasmtime::component::Resource<Y>,), in call_method_a()
611 use wasmtime::component::__internal::Box;
612 pub type A = wasmtime::component::ResourceAny;
618 constructor_a_constructor: wasmtime::component::Func,
622 constructor_a_constructor: wasmtime::component::ComponentExportIndex,
632 _instance_pre: &wasmtime::component::InstancePre<_T>, in new()
635 .component() in new()
644 .component() in new()
662 instance: &wasmtime::component::Instance, in load()
672 (wasmtime::component::ResourceAny,), in load()
686 accessor: &wasmtime::component::Accessor<_T, _D>, in call_constructor()
687 ) -> wasmtime::Result<wasmtime::component::ResourceAny> in call_constructor()
690 _D: wasmtime::component::HasData, in call_constructor()
693 wasmtime::component::TypedFunc::< in call_constructor()
695 (wasmtime::component::ResourceAny,), in call_constructor()
706 use wasmtime::component::__internal::Box;
708 pub type B = wasmtime::component::ResourceAny;
714 constructor_b_constructor: wasmtime::component::Func,
718 constructor_b_constructor: wasmtime::component::ComponentExportIndex,
728 _instance_pre: &wasmtime::component::InstancePre<_T>, in new()
731 .component() in new()
740 .component() in new()
758 instance: &wasmtime::component::Instance, in load()
767 (wasmtime::component::ResourceAny,), in load()
768 (wasmtime::component::ResourceAny,), in load()
782 accessor: &wasmtime::component::Accessor<_T, _D>, in call_constructor()
783 arg0: wasmtime::component::ResourceAny, in call_constructor()
784 ) -> wasmtime::Result<wasmtime::component::ResourceAny> in call_constructor()
787 _D: wasmtime::component::HasData, in call_constructor()
790 wasmtime::component::TypedFunc::< in call_constructor()
791 (wasmtime::component::ResourceAny,), in call_constructor()
792 (wasmtime::component::ResourceAny,), in call_constructor()