Enum napi::bindgen_prelude::Status
source · #[repr(i32)]
pub enum Status {
Show 23 variants
Ok,
InvalidArg,
ObjectExpected,
StringExpected,
NameExpected,
FunctionExpected,
NumberExpected,
BooleanExpected,
ArrayExpected,
GenericFailure,
PendingException,
Cancelled,
EscapeCalledTwice,
HandleScopeMismatch,
CallbackScopeMismatch,
QueueFull,
Closing,
BigintExpected,
DateExpected,
ArrayBufferExpected,
DetachableArraybufferExpected,
WouldDeadlock,
Unknown,
}
Variants§
Ok
InvalidArg
ObjectExpected
StringExpected
NameExpected
FunctionExpected
NumberExpected
BooleanExpected
ArrayExpected
GenericFailure
PendingException
Cancelled
EscapeCalledTwice
HandleScopeMismatch
CallbackScopeMismatch
QueueFull
ThreadSafeFunction queue is full
Closing
ThreadSafeFunction closed