#[repr(u8)]pub enum ThreadsafeFunctionCallMode {
NonBlocking = 0,
Blocking = 1,
}Variants§
Trait Implementations§
Source§impl From<ThreadsafeFunctionCallMode> for napi_threadsafe_function_call_mode
impl From<ThreadsafeFunctionCallMode> for napi_threadsafe_function_call_mode
Source§fn from(value: ThreadsafeFunctionCallMode) -> Self
fn from(value: ThreadsafeFunctionCallMode) -> Self
Converts to this type from the input type.
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