Home
last modified time | relevance | path

Searched refs:FutureType (Results 1 – 5 of 5) sorted by relevance

/wasmtime-44.0.1/crates/wasmtime/src/runtime/component/concurrent/
H A Dfuture_stream_any.rs7 use crate::component::types::{self, FutureType, StreamType};
40 ty: PayloadType<FutureType>,
58 FutureType::equivalent_payload_guest, in lower_to_index()
77 .typecheck_host::<T>(FutureType::equivalent_payload_host::<T>)?; in try_into_future_reader()
120 ty: PayloadType::Guest(FutureType::from(ty, &cx.instance_type())), in lift_from_index()
388 impl PayloadType<FutureType> {
396 PayloadType::Guest(FutureType::from(ty, &types)) in new_guest_future()
/wasmtime-44.0.1/crates/c-api/include/wasmtime/component/types/
H A Dval.hh164 class FutureType { class
165 WASMTIME_CLONE_EQUAL_WRAPPER(FutureType, wasmtime_component_future_type);
387 ValType(FutureType future) { in ValType()
567 const FutureType &future() const { in future()
569 return *FutureType::from_capi(&ty.of.future); in future()
655 inline std::optional<ValType> FutureType::ty() const { in ty()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/component/
H A Dmatching.rs5 use crate::component::types::{FutureType, StreamType};
208 pub fn future_type(&self, index: TypeFutureTableIndex) -> FutureType { in future_type() argument
209 FutureType::from(self.types[index].ty, self) in future_type()
H A Dtypes.rs593 pub struct FutureType(Handle<TypeFutureIndex>); struct
595 impl FutureType { impl
597 FutureType(Handle::new(index, ty)) in from()
640 impl PartialEq for FutureType { implementation
646 impl Eq for FutureType {} implementation
733 Future(FutureType),
/wasmtime-44.0.1/crates/c-api/src/component/types/
H A Dval.rs384 pub(crate) ty: FutureType,