| /wasmtime-44.0.1/crates/wasmtime/src/runtime/component/ |
| H A D | types.rs | 5 use crate::component::matching::InstanceType; 47 fn new(index: T, ty: &InstanceType<'_>) -> Handle<T> { in new() 55 fn instance(&self) -> InstanceType<'_> { in instance() 56 InstanceType { in instance() 326 pub(crate) fn from(index: TypeListIndex, ty: &InstanceType<'_>) -> Self { in from() 349 pub(crate) fn from(index: TypeMapIndex, ty: &InstanceType<'_>) -> Self { in from() 574 types: &InstanceType<'_>, in typecheck_payload() 611 ty: &InstanceType<'_>, in equivalent_payload_guest() 668 ty: &InstanceType<'_>, in equivalent_payload_guest() 1071 pub fn instance_type(&self) -> InstanceType<'_> { in instance_type() [all …]
|
| H A D | matching.rs | 26 pub struct InstanceType<'a> { struct 170 let instance_type = InstanceType { in func() 189 impl<'a> InstanceType<'a> { impl 190 pub fn new(instance: &'a ComponentInstance) -> InstanceType<'a> { in new() 191 InstanceType { in new()
|
| H A D | concurrent_disabled.rs | 2 use crate::component::matching::InstanceType; 71 fn typecheck(_ty: &InterfaceType, _types: &InstanceType<'_>) -> Result<()> { in typecheck() 121 fn typecheck(_ty: &InterfaceType, _types: &InstanceType<'_>) -> Result<()> { in typecheck()
|
| H A D | component.rs | 2 use crate::component::matching::InstanceType; 390 fn with_uninstantiated_instance_type<R>(&self, f: impl FnOnce(&InstanceType<'_>) -> R) -> R { in with_uninstantiated_instance_type() 392 f(&InstanceType { in with_uninstantiated_instance_type()
|
| H A D | mod.rs | 155 pub use super::matching::InstanceType;
|
| H A D | instance.rs | 3 use crate::component::matching::InstanceType; 264 Some(InstanceType::new(instance).resource_type(*id)) in get_resource() 310 &InstanceType::new(data), in _get_export() 1148 pub fn instance_type(&self) -> InstanceType<'_> { in instance_type() 1149 InstanceType { in instance_type()
|
| H A D | func.rs | 3 use crate::component::matching::InstanceType; 169 let cx = InstanceType::new(instance.unwrap_or_else(|| self.instance.id().get(store))); in typecheck() 186 let cx = InstanceType::new(self.instance.id().get(store)); in ty_()
|
| H A D | linker.rs | 5 use crate::component::matching::{InstanceType, TypeChecker}; 189 &InstanceType { in substituted_component_type()
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/component/concurrent/ |
| H A D | future_stream_any.rs | 6 use crate::component::matching::InstanceType; 146 fn typecheck(ty: &InterfaceType, _types: &InstanceType<'_>) -> Result<()> { in typecheck() 316 fn typecheck(ty: &InterfaceType, _types: &InstanceType<'_>) -> Result<()> { in typecheck() 371 typecheck: fn(Option<&InterfaceType>, &InstanceType<'_>) -> Result<()>, 394 let types = InstanceType::new(&store.component_instance(id)); in new_guest_future() 406 let types = InstanceType::new(&store.component_instance(id)); in new_guest_stream() 425 types: &InstanceType<'_>, in typecheck_guest() 427 equivalent: fn(&T, &InstanceType<'_>, Option<&InterfaceType>) -> bool, in typecheck_guest()
|
| H A D | futures_and_streams.rs | 5 use crate::component::matching::InstanceType; 1451 fn typecheck(ty: &InterfaceType, types: &InstanceType<'_>) -> Result<()> { in typecheck() 1828 fn typecheck(ty: &InterfaceType, types: &InstanceType<'_>) -> Result<()> { in typecheck() 2015 fn typecheck(ty: &InterfaceType, _types: &InstanceType<'_>) -> Result<()> { in typecheck()
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/component/func/ |
| H A D | options.rs | 4 use crate::component::matching::InstanceType; 277 pub fn instance_type(&self) -> InstanceType<'_> { in instance_type() 278 InstanceType::new(self.instance()) in instance_type() 454 pub fn instance_type(&self) -> InstanceType<'_> { in instance_type() 455 InstanceType::new(&self.instance) in instance_type()
|
| H A D | typed.rs | 3 use crate::component::matching::InstanceType; 749 fn typecheck(ty: &InterfaceType, types: &InstanceType<'_>) -> Result<()>; in typecheck() 2348 types: &InstanceType<'_>, in typecheck_tuple() 2349 expected: &[fn(&InterfaceType, &InstanceType<'_>) -> Result<()>], in typecheck_tuple() 2374 types: &InstanceType<'_>, in typecheck_record() 2375 expected: &[(&str, fn(&InterfaceType, &InstanceType<'_>) -> Result<()>)], in typecheck_record() 2408 types: &InstanceType<'_>, in typecheck_variant() 2411 Option<fn(&InterfaceType, &InstanceType<'_>) -> Result<()>>, in typecheck_variant() 2454 types: &InstanceType<'_>, in typecheck_enum() 2485 types: &InstanceType<'_>, in typecheck_flags() [all …]
|
| H A D | host.rs | 8 use crate::component::matching::InstanceType; 44 typecheck: fn(TypeFuncIndex, &InstanceType<'_>) -> Result<()>, 243 pub fn typecheck(&self, ty: TypeFuncIndex, types: &InstanceType<'_>) -> Result<()> { in typecheck() 294 fn typecheck(ty: TypeFuncIndex, types: &InstanceType<'_>) -> Result<()>; in typecheck() 625 fn typecheck(ty: TypeFuncIndex, types: &InstanceType<'_>) -> Result<()> { in typecheck() 708 fn typecheck(ty: TypeFuncIndex, types: &InstanceType<'_>) -> Result<()> { in typecheck()
|
| /wasmtime-44.0.1/crates/test-util/src/ |
| H A D | component.rs | 4 CanonicalAbiInfo, InstanceType, InterfaceType, LiftContext, LowerContext, 60 fn typecheck(ty: &InterfaceType, types: &InstanceType<'_>) -> Result<()> {
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/component/resources/ |
| H A D | host_dynamic.rs | 3 use crate::component::matching::InstanceType; 150 fn typecheck(ty: &InterfaceType, types: &InstanceType<'_>) -> Result<()> { in typecheck()
|
| H A D | host_static.rs | 13 use crate::component::matching::InstanceType; 222 fn typecheck(ty: &InterfaceType, types: &InstanceType<'_>) -> Result<()> { in typecheck()
|
| H A D | any.rs | 13 use crate::component::matching::InstanceType; 278 fn typecheck(ty: &InterfaceType, _types: &InstanceType<'_>) -> Result<()> { in typecheck()
|
| H A D | host.rs | 3 use crate::component::matching::InstanceType; 318 fn typecheck(ty: &InterfaceType, types: &InstanceType<'_>) -> Result<()> { in typecheck()
|
| /wasmtime-44.0.1/crates/component-macro/src/ |
| H A D | component.rs | 415 types: &#internal::InstanceType<'_>, in expand_record_for_component_type() 1028 types: &#internal::InstanceType<'_>, in expand_variant() 1089 types: &#internal::InstanceType<'_>, in expand_enum()
|