Enum neon::sys::bindings::ThreadsafeFunctionReleaseMode
source · #[repr(u32)]pub enum ThreadsafeFunctionReleaseMode {
Release = 0,
Abort = 1,
}
Available on crate features
sys
and napi-4
only.Expand description
Variants§
Trait Implementations§
source§impl Clone for ThreadsafeFunctionReleaseMode
impl Clone for ThreadsafeFunctionReleaseMode
source§fn clone(&self) -> ThreadsafeFunctionReleaseMode
fn clone(&self) -> ThreadsafeFunctionReleaseMode
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 Hash for ThreadsafeFunctionReleaseMode
impl Hash for ThreadsafeFunctionReleaseMode
source§impl PartialEq for ThreadsafeFunctionReleaseMode
impl PartialEq for ThreadsafeFunctionReleaseMode
source§fn eq(&self, other: &ThreadsafeFunctionReleaseMode) -> bool
fn eq(&self, other: &ThreadsafeFunctionReleaseMode) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for ThreadsafeFunctionReleaseMode
impl Eq for ThreadsafeFunctionReleaseMode
impl StructuralPartialEq for ThreadsafeFunctionReleaseMode
Auto Trait Implementations§
impl Freeze for ThreadsafeFunctionReleaseMode
impl RefUnwindSafe for ThreadsafeFunctionReleaseMode
impl Send for ThreadsafeFunctionReleaseMode
impl Sync for ThreadsafeFunctionReleaseMode
impl Unpin for ThreadsafeFunctionReleaseMode
impl UnwindSafe for ThreadsafeFunctionReleaseMode
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
)