| 194 | } |
| 195 | |
| 196 | pub(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 | |
| 207 | impl<'j> fmt::Debug for WasmVal<'j> { |
| 208 | fn fmt(&self, f: &mut fmt::Formatter) -> Result<(), fmt::Error> { |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…