MCPcopy Create free account
hub / github.com/bluejekyll/wasmtime-java / WasmVal

Enum WasmVal

wasmtime-jni/src/wasm_value.rs:196–205  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

194}
195
196pub(crate) enum WasmVal<'j> {
197 // TODO: go back and review usage of ByteBuffer... need more thought here.
198 // ByteBuffer(JByteBuffer<'j>),
199 ByteArray {
200 jarray: jbyteArray,
201 lifetime: PhantomData<&'j ()>,
202 },
203 String(JString<'j>),
204 Val(Val),
205}
206
207impl<'j> fmt::Debug for WasmVal<'j> {
208 fn fmt(&self, f: &mut fmt::Formatter) -> Result<(), fmt::Error> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…