Home
last modified time | relevance | path

Searched refs:WasiView (Results 1 – 25 of 27) sorted by relevance

12

/wasmtime-44.0.1/crates/wasi/src/
H A Dview.rs36 pub trait WasiView: Send { trait
51 impl<T: WasiView> crate::cli::WasiCliView for T {
61 impl<T: WasiView> crate::clocks::WasiClocksView for T {
71 impl<T: WasiView> crate::filesystem::WasiFilesystemView for T {
81 impl<T: WasiView> crate::random::WasiRandomView for T {
87 impl<T: WasiView> crate::sockets::WasiSocketsView for T {
H A Dlib.rs58 pub use self::view::{WasiCtxView, WasiView};
/wasmtime-44.0.1/crates/wasi/src/p2/
H A Dmod.rs228 use crate::WasiView;
313 pub fn add_to_linker_async<T: WasiView>(linker: &mut Linker<T>) -> wasmtime::Result<()> { in add_to_linker_async()
319 pub fn add_to_linker_with_options_async<T: WasiView>( in add_to_linker_with_options_async()
334 fn add_nonblocking_to_linker<'a, T: WasiView, O>( in add_nonblocking_to_linker() argument
371 pub fn add_to_linker_proxy_interfaces_async<T: WasiView>( in add_to_linker_proxy_interfaces_async()
381 pub fn add_to_linker_proxy_interfaces_sync<T: WasiView>( in add_to_linker_proxy_interfaces_sync()
388 fn add_proxy_interfaces_nonblocking<T: WasiView>(linker: &mut Linker<T>) -> wasmtime::Result<()> { in add_proxy_interfaces_nonblocking()
452 pub fn add_to_linker_sync<T: WasiView>( in add_to_linker_sync()
460 pub fn add_to_linker_with_options_sync<T: WasiView>( in add_to_linker_with_options_sync()
476 fn add_sync_wasi_io<T: WasiView>( in add_sync_wasi_io()
[all …]
/wasmtime-44.0.1/crates/misc/component-async-tests/src/
H A Dlib.rs4 use wasmtime_wasi::{WasiCtx, WasiCtxView, WasiView};
24 impl WasiView for Ctx {
/wasmtime-44.0.1/crates/wasi/src/p3/
H A Dmod.rs18 use crate::WasiView;
172 T: WasiView + 'static, in add_to_linker()
184 T: WasiView + 'static, in add_to_linker_with_options()
/wasmtime-44.0.1/examples/wasip2-async/
H A Dmain.rs13 use wasmtime_wasi::{WasiCtx, WasiCtxView, WasiView};
24 impl WasiView for ComponentRunStates {
/wasmtime-44.0.1/crates/wasi-keyvalue/tests/
H A Dmain.rs7 use wasmtime_wasi::{WasiCtx, WasiCtxView, WasiView, p2::bindings::Command};
16 impl WasiView for Ctx {
/wasmtime-44.0.1/crates/wasi-config/tests/
H A Dmain.rs8 use wasmtime_wasi::{WasiCtx, WasiCtxBuilder, WasiCtxView, WasiView};
17 impl WasiView for Ctx {
/wasmtime-44.0.1/examples/wasip2/
H A Dmain.rs12 use wasmtime_wasi::{WasiCtx, WasiCtxView, WasiView};
23 impl WasiView for ComponentRunStates {
/wasmtime-44.0.1/crates/wasi/tests/all/
H A Dstore.rs6 DirPerms, FilePerms, WasiCtx, WasiCtxBuilder, WasiCtxView, WasiView, p2::pipe::MemoryOutputPipe,
87 impl WasiView for Ctx<MyWasiCtx> {
H A Dp1.rs6 use wasmtime_wasi::WasiView;
/wasmtime-44.0.1/crates/wasi-tls/tests/p3/
H A Dmod.rs6 use wasmtime_wasi::{WasiCtx, WasiCtxView, WasiView, p3::bindings::Command};
15 impl WasiView for Ctx {
/wasmtime-44.0.1/crates/wasi-tls/tests/p2/
H A Dmod.rs6 use wasmtime_wasi::{WasiCtx, WasiCtxView, WasiView, p2::bindings::Command};
17 impl WasiView for Ctx {
/wasmtime-44.0.1/examples/resource-component/
H A Dmain.rs16 use wasmtime_wasi::{WasiCtx, WasiCtxView, WasiView};
27 impl WasiView for ComponentRunStates {
/wasmtime-44.0.1/crates/wasi/tests/all/p2/
H A Dapi.rs11 WasiView,
19 impl WasiView for CommandCtx {
/wasmtime-44.0.1/crates/c-api/src/
H A Dstore.rs103 impl wasmtime_wasi::WasiView for WasmtimeStoreData {
112 use wasmtime_wasi::WasiView; in http()
/wasmtime-44.0.1/crates/wasi-http/src/p2/
H A Dmod.rs456 T: WasiHttpView + wasmtime_wasi::WasiView + 'static, in add_to_linker_async()
528 T: WasiHttpView + wasmtime_wasi::WasiView + 'static, in add_to_linker_sync()
/wasmtime-44.0.1/crates/wasi-nn/tests/exec/
H A Dwit.rs64 impl wasmtime_wasi::WasiView for Ctx {
/wasmtime-44.0.1/src/commands/
H A Drun.rs21 use wasmtime_wasi::{WasiCtxView, WasiView};
1521 impl WasiView for Host {
1523 WasiView::ctx(self.wasip1_ctx()) in ctx()
1533 table: WasiView::ctx(unwrap_singlethread_context(&mut self.wasip1_ctx)).table, in http()
1546 table: WasiView::ctx(unwrap_singlethread_context(&mut self.wasip1_ctx)).table, in http()
1557 table: WasiView::ctx(unwrap_singlethread_context(&mut self.wasip1_ctx)).table, in tls()
H A Dserve.rs30 use wasmtime_wasi::{WasiCtx, WasiCtxBuilder, WasiCtxView, WasiView};
72 impl WasiView for Host {
/wasmtime-44.0.1/crates/misc/component-async-tests/tests/scenario/
H A Dround_trip.rs15 use wasmtime_wasi::{WasiCtx, WasiCtxBuilder, WasiCtxView, WasiView};
257 impl WasiView for MyCtx { in test_round_trip_recurse()
/wasmtime-44.0.1/crates/wasi-http/tests/all/
H A Dp2.rs16 use wasmtime_wasi::{WasiCtx, WasiCtxView, WasiView, p2::pipe::MemoryOutputPipe};
46 impl WasiView for Ctx {
/wasmtime-44.0.1/crates/wasi-http/src/p3/
H A Drequest.rs489 use wasmtime_wasi::{ResourceTable, WasiCtx, WasiCtxBuilder, WasiCtxView, WasiView};
507 impl WasiView for TestCtx {
/wasmtime-44.0.1/crates/wasi-http/tests/all/p3/
H A Dmod.rs21 use wasmtime_wasi::{TrappableError, WasiCtx, WasiCtxBuilder, WasiCtxView, WasiView};
103 impl WasiView for Ctx {
/wasmtime-44.0.1/src/
H A Dcommon.rs439 T: wasmtime_wasi::WasiView, in add_wasmtime_wasi_to_linker() argument

12