1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
//! wasmtime-generated bindings for the `uni:plugin` WIT worlds.
//!
//! `wasmtime::component::bindgen!` walks the `wit/` directory at
//! compile time and emits typed wrappers for each `world`. The
//! generated types live in submodules named after the world.
//!
//! Downstream adapters import e.g.
//! `crate::bindings::scalar_plugin::ScalarPlugin` to get the typed
//! `invoke_scalar(qname, ipc) -> Result<Vec<u8>, FnError>` wrapper.
/// Scalar plugin world. Implements one or more Cypher scalar fns
/// over the Arrow IPC bytes wire format.
/// Aggregate plugin world. Implements Cypher aggregates with opaque
/// state passed between calls.
/// Procedure plugin world. Implements `CALL ... YIELD ...`
/// procedures returning zero or more `yields`-shaped batches.