Enum neon::sys::bindings::ThreadsafeFunctionCallMode
source · #[repr(u32)]pub enum ThreadsafeFunctionCallMode {
NonBlocking = 0,
Blocking = 1,
}
Available on crate features
sys
and napi-4
only.Expand description
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 Hash for ThreadsafeFunctionCallMode
impl Hash for ThreadsafeFunctionCallMode
impl Copy for ThreadsafeFunctionCallMode
impl Eq for ThreadsafeFunctionCallMode
impl StructuralPartialEq for ThreadsafeFunctionCallMode
Auto Trait Implementations§
impl Freeze for ThreadsafeFunctionCallMode
impl RefUnwindSafe for ThreadsafeFunctionCallMode
impl Send for ThreadsafeFunctionCallMode
impl Sync for ThreadsafeFunctionCallMode
impl Unpin for ThreadsafeFunctionCallMode
impl UnwindSafe for ThreadsafeFunctionCallMode
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)