How to send an enum value from Rust to Deno
Hello there
I am quite a beginner to FFI and I am not sure which resources to read to learn more about it in Rust.
My problem: I got two enums
I want to emit these events to callback function declared in Deno side
I do not know how to recognize which event has been sent in Deno
I am quite a beginner to FFI and I am not sure which resources to read to learn more about it in Rust.
My problem: I got two enums
MyEvent and MySubEvent.I want to emit these events to callback function declared in Deno side
I do not know how to recognize which event has been sent in Deno
