#[repr(u32)]pub enum NapiThreadsafeFunctionCallMode {
Nonblocking = 0,
Blocking = 1,
}
Expand description
napi_threadsafe_function_call_mode
Variants§
Trait Implementations§
source§impl Clone for NapiThreadsafeFunctionCallMode
impl Clone for NapiThreadsafeFunctionCallMode
source§fn clone(&self) -> NapiThreadsafeFunctionCallMode
fn clone(&self) -> NapiThreadsafeFunctionCallMode
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 PartialEq for NapiThreadsafeFunctionCallMode
impl PartialEq for NapiThreadsafeFunctionCallMode
source§fn eq(&self, other: &NapiThreadsafeFunctionCallMode) -> bool
fn eq(&self, other: &NapiThreadsafeFunctionCallMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for NapiThreadsafeFunctionCallMode
impl Eq for NapiThreadsafeFunctionCallMode
impl StructuralEq for NapiThreadsafeFunctionCallMode
impl StructuralPartialEq for NapiThreadsafeFunctionCallMode
Auto Trait Implementations§
impl RefUnwindSafe for NapiThreadsafeFunctionCallMode
impl Send for NapiThreadsafeFunctionCallMode
impl Sync for NapiThreadsafeFunctionCallMode
impl Unpin for NapiThreadsafeFunctionCallMode
impl UnwindSafe for NapiThreadsafeFunctionCallMode
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more