wrpc_runtime_wasmtime/
bindings.rs1mod generated {
2 wasmtime::component::bindgen!({
3 world: "wrpc:rpc/imports",
4 with: {
5 "wasi": wasmtime_wasi::p2::bindings,
6 "wrpc:rpc/context/context": with::Context,
7 "wrpc:rpc/error/error": crate::rpc::Error,
8 "wrpc:rpc/transport/incoming-channel": crate::rpc::IncomingChannel,
9 "wrpc:rpc/transport/invocation": crate::rpc::Invocation,
10 "wrpc:rpc/transport/outgoing-channel": crate::rpc::OutgoingChannel,
11 },
12 imports: {
13 default: trappable,
14 "wrpc:rpc/transport@0.1.0/[static]invocation.finish": async | trappable,
15 },
16 require_store_data_send: true,
17 });
18
19 pub mod with {
20 use core::any::Any;
21
22 #[repr(transparent)]
23 pub struct Context(pub Box<dyn Any + Send>);
24 }
25}
26
27pub use generated::wrpc::rpc;