| /wasmtime-44.0.1/crates/debugger/src/ |
| H A D | host.rs | 5 component::{Resource, ResourceTable}, 19 table: &mut ResourceTable, in add_debuggee() argument 32 impl bindings::DebugMainImports for ResourceTable { implementation 42 f: fn(&mut T) -> &mut ResourceTable, in add_to_linker() argument 44 wit::add_to_linker::<_, wasmtime::component::HasSelf<ResourceTable>>(linker, f)?; in add_to_linker() 45 bindings::DebugMain::add_to_linker_imports::<_, wasmtime::component::HasSelf<ResourceTable>>( in add_to_linker()
|
| /wasmtime-44.0.1/crates/wasi-io/src/ |
| H A D | lib.rs | 39 use wasmtime::component::{HasData, ResourceTable}; 78 fn table(&mut self) -> &mut ResourceTable; in table() argument 82 fn table(&mut self) -> &mut ResourceTable { in table() argument 87 fn table(&mut self) -> &mut ResourceTable { in table() argument 156 type Data<'a> = &'a mut ResourceTable;
|
| H A D | impls.rs | 11 use wasmtime::component::{Resource, ResourceTable}; 14 impl poll::Host for ResourceTable { implementation 70 impl crate::bindings::wasi::io::poll::HostPollable for ResourceTable { implementation 95 impl error::Host for ResourceTable {} implementation 97 impl streams::Host for ResourceTable { implementation 109 impl error::HostError for ResourceTable { implementation 120 impl streams::HostOutputStream for ResourceTable { implementation 249 impl streams::HostInputStream for ResourceTable { implementation
|
| H A D | poll.rs | 6 use wasmtime::component::{Resource, ResourceTable}; 20 pub(crate) remove_index_on_delete: Option<fn(&mut ResourceTable, u32) -> Result<()>>, 91 table: &mut ResourceTable, in subscribe() argument
|
| /wasmtime-44.0.1/examples/wasip2/ |
| H A D | main.rs | 9 use wasmtime::component::{Component, Linker, ResourceTable}; 19 pub resource_table: ResourceTable, 44 resource_table: ResourceTable::new(), in main() 61 resource_table: ResourceTable::new(), in main()
|
| /wasmtime-44.0.1/crates/wasi/src/p2/ |
| H A D | poll.rs | 5 use wasmtime::component::{Resource, ResourceTable}; 7 impl crate::p2::bindings::sync::io::poll::Host for ResourceTable { implementation 13 impl crate::p2::bindings::sync::io::poll::HostPollable for ResourceTable { implementation
|
| /wasmtime-44.0.1/examples/wasip2-async/ |
| H A D | main.rs | 10 use wasmtime::component::{Component, Linker, ResourceTable}; 20 pub resource_table: ResourceTable, 45 resource_table: ResourceTable::new(), in main()
|
| /wasmtime-44.0.1/crates/wasi-keyvalue/tests/ |
| H A D | main.rs | 4 component::{Component, Linker, ResourceTable}, 11 table: ResourceTable, 58 table: ResourceTable::new(), in keyvalue_main()
|
| /wasmtime-44.0.1/crates/wasi-config/tests/ |
| H A D | main.rs | 4 component::{Component, Linker, ResourceTable}, 12 table: ResourceTable, 59 table: ResourceTable::new(), in config_get()
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/component/ |
| H A D | resource_table.rs | 36 pub struct ResourceTable { struct 111 impl ResourceTable { impl 114 ResourceTable::with_capacity(0) in new() 146 ResourceTable { in with_capacity() 417 impl Default for ResourceTable { implementation 419 ResourceTable::new() in default() 423 impl fmt::Debug for ResourceTable { implementation 445 let mut table = ResourceTable::new(); in test_free_list() 475 let mut table = ResourceTable::new(); in test_max_capacity()
|
| /wasmtime-44.0.1/crates/wasi/tests/all/p2/ |
| H A D | api.rs | 6 use wasmtime::component::{Component, Linker, ResourceTable}; 15 table: ResourceTable, 74 let table = ResourceTable::new(); in p2_api_time() 97 let table = ResourceTable::new(); in p2_api_read_only() 144 let table = ResourceTable::new(); in p2_api_reactor()
|
| /wasmtime-44.0.1/crates/wasi-nn/tests/exec/ |
| H A D | wit.rs | 4 use wasmtime::component::{Component, Linker, ResourceTable}; 33 table: ResourceTable, 54 let table = ResourceTable::new(); in new()
|
| /wasmtime-44.0.1/crates/misc/component-async-tests/src/ |
| H A D | lib.rs | 3 use wasmtime::component::{HasData, ResourceTable}; 20 pub table: ResourceTable,
|
| /wasmtime-44.0.1/crates/wasi/src/p2/host/ |
| H A D | io.rs | 7 use wasmtime::component::{Resource, ResourceTable}; 22 impl streams::Host for ResourceTable { implementation 28 impl streams::HostOutputStream for ResourceTable { implementation 104 impl streams::HostInputStream for ResourceTable { implementation
|
| /wasmtime-44.0.1/crates/debugger/src/host/ |
| H A D | api.rs | 179 table: &'a mut ResourceTable, in debugger() argument 188 impl wit::HostDebuggee for ResourceTable { implementation 303 impl wit::HostInstance for ResourceTable { implementation 407 impl wit::HostModule for ResourceTable { implementation 451 impl wit::HostMemory for ResourceTable { implementation 635 impl wit::HostGlobal for ResourceTable { implementation 678 impl wit::HostTable for ResourceTable { implementation 725 impl wit::HostWasmFunc for ResourceTable { implementation 815 impl wit::HostWasmTag for ResourceTable { implementation 853 impl wit::HostFrame for ResourceTable { implementation [all …]
|
| /wasmtime-44.0.1/crates/wasi/tests/all/ |
| H A D | store.rs | 3 use wasmtime::component::ResourceTable; 76 table: ResourceTable, 81 let mut table = ResourceTable::new(); in new()
|
| /wasmtime-44.0.1/crates/wasi-tls/tests/p3/ |
| H A D | mod.rs | 3 component::{Component, Linker, ResourceTable}, 10 table: ResourceTable, 35 table: ResourceTable::new(), in run_test()
|
| /wasmtime-44.0.1/crates/wasi-tls/tests/p2/ |
| H A D | mod.rs | 3 component::{Component, Linker, ResourceTable}, 12 table: ResourceTable, 37 table: ResourceTable::new(), in run_test()
|
| /wasmtime-44.0.1/crates/wasi-http/src/p3/host/ |
| H A D | types.rs | 17 Access, FutureProducer, FutureReader, Resource, ResourceTable, StreamReader, 23 table: &'a ResourceTable, in get_fields() argument 32 table: &'a mut ResourceTable, in get_fields_mut() argument 58 table: &'a ResourceTable, in get_request() argument 65 table: &'a mut ResourceTable, in get_request_mut() argument 74 table: &'a ResourceTable, in get_response() argument 81 table: &'a mut ResourceTable, in get_response_mut() argument 90 table: &'a ResourceTable, in get_request_options() argument 99 table: &'a mut ResourceTable, in get_request_options_mut() argument 109 table: &mut ResourceTable, in push_request_options() argument [all …]
|
| /wasmtime-44.0.1/examples/resource-component/ |
| H A D | main.rs | 12 use wasmtime::component::{Component, Linker, ResourceTable}; 23 pub resource_table: ResourceTable, 43 resource_table: ResourceTable::new(), in new()
|
| /wasmtime-44.0.1/crates/wasi/src/ |
| H A D | view.rs | 2 use wasmtime::component::ResourceTable; 48 pub table: &'a mut ResourceTable,
|
| /wasmtime-44.0.1/crates/wasi-tls/src/ |
| H A D | lib.rs | 93 use wasmtime::component::{HasData, ResourceTable}; 152 pub table: &'a mut ResourceTable,
|
| /wasmtime-44.0.1/crates/misc/component-async-tests/tests/scenario/ |
| H A D | borrowing.rs | 7 use wasmtime::component::{Linker, ResourceTable}; 89 table: ResourceTable::default(), in test_run_bool()
|
| H A D | post_return.rs | 9 use wasmtime::component::{Linker, ResourceTable}; 65 table: ResourceTable::default(), in test_yield_post_return()
|
| /wasmtime-44.0.1/crates/wasi/src/p3/sockets/host/types/ |
| H A D | udp.rs | 9 use wasmtime::component::{Accessor, Resource, ResourceTable}; 13 table: &'a ResourceTable, in get_socket() argument 23 table: &'a mut ResourceTable, in get_socket_mut() argument
|