Home
last modified time | relevance | path

Searched refs:Connection (Results 1 – 24 of 24) sorted by relevance

/wasmtime-44.0.1/examples/resource-component/
H A Dmain.rs56 "example:kv-store/kvdb.connection": Connection
60 pub struct Connection { struct
75 async fn new(&mut self) -> Result<Resource<Connection>, wasmtime::Error> { in new() argument
76 Ok(self.resource_table.push(Connection { in new()
83 resource: Resource<Connection>, in get() argument
92 resource: Resource<Connection>, in set() argument
103 resource: Resource<Connection>, in remove() argument
110 async fn clear(&mut self, resource: Resource<Connection>) -> Result<(), wasmtime::Error> { in clear()
116 async fn drop(&mut self, resource: Resource<Connection>) -> Result<()> { in drop()
/wasmtime-44.0.1/examples/resource-component/wasm/
H A Dguest_kvdb.rs6 use crate::example::kv_store::kvdb::Connection;
9 static KV_CONNECTION: LazyLock<Connection> = LazyLock::new(Connection::new);
/wasmtime-44.0.1/crates/test-programs/src/bin/
H A Dp3_sockets_tcp_streams.rs64 let Connection { mut receive_stream, receive_result, .. } = client; in test_tcp_receive_future_should_resolve_when_stream_dropped() localVariable
80 let Connection { in test_tcp_send_future_should_resolve_when_stream_dropped() localVariable
162 let Connection { in test_tcp_stream_lifetimes() localVariable
169 let Connection { in test_tcp_stream_lifetimes() localVariable
302 struct Connection { struct
309 impl Connection { argument
327 body: impl FnOnce(Connection, Connection) -> Fut, in setup() argument
343 Connection::new(accepted_socket), in setup()
344 Connection::new(client_socket), in setup()
H A Dp2_tcp_streams.rs129 struct Connection { struct
136 fn setup(net: &Network, family: IpAddressFamily, body: impl FnOnce(Connection, Connection)) { in setup() argument
147 Connection { in setup()
152 Connection { in setup()
/wasmtime-44.0.1/crates/gdbstub-component/src/
H A Dlib.rs16 conn::Connection,
345 impl Connection for Conn {
/wasmtime-44.0.1/crates/wiggle/tests/
H A Dtypenames.witx54 ;;; Connection already in progress.
66 ;;; Connection aborted.
68 ;;; Connection refused.
70 ;;; Connection reset.
118 ;;; Connection aborted by network.
186 ;;; Connection timed out.
/wasmtime-44.0.1/crates/wasi/witx/p0/
H A Dtypenames.witx54 ;;; Connection already in progress.
66 ;;; Connection aborted.
68 ;;; Connection refused.
70 ;;; Connection reset.
118 ;;; Connection aborted by network.
186 ;;; Connection timed out.
/wasmtime-44.0.1/crates/wasi/witx/p1/
H A Dtypenames.witx54 ;;; Connection already in progress.
66 ;;; Connection aborted.
68 ;;; Connection refused.
70 ;;; Connection reset.
118 ;;; Connection aborted by network.
186 ;;; Connection timed out.
/wasmtime-44.0.1/crates/wasi-common/witx/preview1/
H A Dtypenames.witx54 ;;; Connection already in progress.
66 ;;; Connection aborted.
68 ;;; Connection refused.
70 ;;; Connection reset.
118 ;;; Connection aborted by network.
186 ;;; Connection timed out.
/wasmtime-44.0.1/crates/wasi-common/witx/preview0/
H A Dtypenames.witx54 ;;; Connection already in progress.
66 ;;; Connection aborted.
68 ;;; Connection refused.
70 ;;; Connection reset.
118 ;;; Connection aborted by network.
186 ;;; Connection timed out.
/wasmtime-44.0.1/crates/debugger/wit/deps/
H A Dfilesystem.wit189 /// Connection already in progress, similar to `EALREADY` in POSIX.
H A Dsockets.wit321 /// - `timeout`: Connection timed out. (ETIMEDOUT)
/wasmtime-44.0.1/crates/wasi/src/p2/wit/deps/
H A Dfilesystem.wit189 /// Connection already in progress, similar to `EALREADY` in POSIX.
H A Dsockets.wit321 /// - `timeout`: Connection timed out. (ETIMEDOUT)
/wasmtime-44.0.1/crates/wasi-http/wit/deps/
H A Dfilesystem.wit189 /// Connection already in progress, similar to `EALREADY` in POSIX.
H A Dsockets.wit321 /// - `timeout`: Connection timed out. (ETIMEDOUT)
/wasmtime-44.0.1/crates/wasi-http/src/p3/wit/deps/
H A Dfilesystem.wit198 /// Connection already in progress, similar to `EALREADY` in POSIX.
H A Dsockets.wit240 /// - `timeout`: Connection timed out. (ETIMEDOUT)
/wasmtime-44.0.1/crates/wasi/src/p3/wit/deps/
H A Dfilesystem.wit198 /// Connection already in progress, similar to `EALREADY` in POSIX.
H A Dsockets.wit240 /// - `timeout`: Connection timed out. (ETIMEDOUT)
/wasmtime-44.0.1/tests/misc_testsuite/
H A Dembenchen_primes.wast11210Connection reset by peer\00Operation timed out\00Connection refused\00Host is down\00Host is unrea…
H A Dembenchen_ifs.wast11530Connection reset by peer\00Operation timed out\00Connection refused\00Host is down\00Host is unrea…
H A Dembenchen_fasta.wast12081Connection reset by peer\00Operation timed out\00Connection refused\00Host is down\00Host is unrea…
H A Dembenchen_fannkuch.wast12205Connection reset by peer\00Operation timed out\00Connection refused\00Host is down\00Host is unrea…