#[repr(u32)]
pub enum napi_threadsafe_function_call_mode {
napi_tsfn_nonblocking,
napi_tsfn_blocking,
}
Variants
Trait Implementations
sourceimpl Clone for napi_threadsafe_function_call_mode
impl Clone for napi_threadsafe_function_call_mode
sourcefn clone(&self) -> napi_threadsafe_function_call_mode
fn clone(&self) -> napi_threadsafe_function_call_mode
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl PartialEq<napi_threadsafe_function_call_mode> for napi_threadsafe_function_call_mode
impl PartialEq<napi_threadsafe_function_call_mode> for napi_threadsafe_function_call_mode
sourcefn eq(&self, other: &napi_threadsafe_function_call_mode) -> bool
fn eq(&self, other: &napi_threadsafe_function_call_mode) -> bool
impl Copy for napi_threadsafe_function_call_mode
impl Eq for napi_threadsafe_function_call_mode
impl StructuralEq for napi_threadsafe_function_call_mode
impl StructuralPartialEq for napi_threadsafe_function_call_mode
Auto Trait Implementations
impl RefUnwindSafe for napi_threadsafe_function_call_mode
impl Send for napi_threadsafe_function_call_mode
impl Sync for napi_threadsafe_function_call_mode
impl Unpin for napi_threadsafe_function_call_mode
impl UnwindSafe for napi_threadsafe_function_call_mode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more