#[repr(u8)]
pub enum ThreadsafeFunctionCallMode {
NonBlocking,
Blocking,
}
Variants
NonBlocking
Blocking
Trait Implementations
sourceimpl From<ThreadsafeFunctionCallMode> for napi_threadsafe_function_call_mode
impl From<ThreadsafeFunctionCallMode> for napi_threadsafe_function_call_mode
sourcefn from(value: ThreadsafeFunctionCallMode) -> Self
fn from(value: ThreadsafeFunctionCallMode) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for ThreadsafeFunctionCallMode
impl Send for ThreadsafeFunctionCallMode
impl Sync for ThreadsafeFunctionCallMode
impl Unpin for ThreadsafeFunctionCallMode
impl UnwindSafe for ThreadsafeFunctionCallMode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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