diff --git a/crates/napi/src/threadsafe_function.rs b/crates/napi/src/threadsafe_function.rs index a38e7e0e..8ce36e20 100644 --- a/crates/napi/src/threadsafe_function.rs +++ b/crates/napi/src/threadsafe_function.rs @@ -19,6 +19,7 @@ pub struct ThreadSafeCallContext { } #[repr(u8)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub enum ThreadsafeFunctionCallMode { NonBlocking, Blocking,