Home
last modified time | relevance | path

Searched refs:StreamType (Results 1 – 7 of 7) sorted by relevance

/wasmtime-44.0.1/crates/wasi-preview1-component-adapter/src/
H A Ddescriptors.rs39 pub type_: StreamType,
52 StreamType::File(File { in get_read_stream()
59 StreamType::File(file) => { in get_read_stream()
80 StreamType::File(File { in get_write_stream()
87 StreamType::File(file) => { in get_write_stream()
104 pub enum StreamType { enum
175 type_: StreamType::Stdio(Stdio::Stdin), in new()
219 type_: StreamType::File(File { in open_preopens()
404 StreamType::File(File { in get_file_with_error()
411 type_: StreamType::File(file), in get_file_with_error()
[all …]
H A Dlib.rs49 use crate::descriptors::{Descriptor, Descriptors, StreamType, Streams};
794 type_: StreamType::File(file), in fd_fdstat_get()
888 type_: StreamType::Stdio(stdio), in fd_fdstat_get()
929 type_: StreamType::File(file), in fd_fdstat_set_flags()
969 type_: StreamType::File(file), in fd_filestat_get()
989 type_: StreamType::Stdio(stdio), in fd_filestat_get()
1136 type_: StreamType::File(File { in fd_prestat_get()
1169 type_: StreamType::File(File { in fd_prestat_dir_name()
1292 if let StreamType::File(file) = &streams.type_ { in fd_read()
1607 if let StreamType::File(file) = &mut stream.type_ { in fd_seek()
[all …]
/wasmtime-44.0.1/crates/wasmtime/src/runtime/component/concurrent/
H A Dfuture_stream_any.rs7 use crate::component::types::{self, FutureType, StreamType};
217 ty: PayloadType<StreamType>,
232 StreamType::equivalent_payload_guest, in lower_to_index()
249 .typecheck_host::<T>(StreamType::equivalent_payload_host::<T>)?; in try_into_stream_reader()
290 ty: PayloadType::Guest(StreamType::from(ty, &cx.instance_type())), in lift_from_index()
400 impl PayloadType<StreamType> {
408 PayloadType::Guest(StreamType::from(ty, &types)) in new_guest_stream()
/wasmtime-44.0.1/crates/c-api/include/wasmtime/component/types/
H A Dval.hh174 class StreamType { class
175 WASMTIME_CLONE_EQUAL_WRAPPER(StreamType, wasmtime_component_stream_type);
393 ValType(StreamType stream) { in ValType()
573 const StreamType &stream() const { in stream()
575 return *StreamType::from_capi(&ty.of.stream); in stream()
663 inline std::optional<ValType> StreamType::ty() const { in ty()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/component/
H A Dmatching.rs5 use crate::component::types::{FutureType, StreamType};
212 pub fn stream_type(&self, index: TypeStreamTableIndex) -> StreamType { in stream_type() argument
213 StreamType::from(self.types[index].ty, self) in stream_type()
H A Dtypes.rs650 pub struct StreamType(Handle<TypeStreamIndex>); struct
652 impl StreamType { implementation
654 StreamType(Handle::new(index, ty)) in from()
697 impl PartialEq for StreamType { implementation
703 impl Eq for StreamType {} implementation
734 Stream(StreamType),
/wasmtime-44.0.1/crates/c-api/src/component/types/
H A Dval.rs408 pub(crate) ty: StreamType,