#[repr(u8)]
pub enum ThreadsafeFunctionCallMode {
NonBlocking,
Blocking,
}
Variants§
Trait Implementations§
source§impl Clone for ThreadsafeFunctionCallMode
impl Clone for ThreadsafeFunctionCallMode
source§fn clone(&self) -> ThreadsafeFunctionCallMode
fn clone(&self) -> ThreadsafeFunctionCallMode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ThreadsafeFunctionCallMode
impl Debug for ThreadsafeFunctionCallMode
source§impl From<ThreadsafeFunctionCallMode> for napi_threadsafe_function_call_mode
impl From<ThreadsafeFunctionCallMode> for napi_threadsafe_function_call_mode
source§fn from(value: ThreadsafeFunctionCallMode) -> Self
fn from(value: ThreadsafeFunctionCallMode) -> Self
Converts to this type from the input type.
source§impl PartialEq<ThreadsafeFunctionCallMode> for ThreadsafeFunctionCallMode
impl PartialEq<ThreadsafeFunctionCallMode> for ThreadsafeFunctionCallMode
source§fn eq(&self, other: &ThreadsafeFunctionCallMode) -> bool
fn eq(&self, other: &ThreadsafeFunctionCallMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.