Enum napi::bindgen_prelude::Status [−][src]
#[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
BigintExpected
DateExpected
ArrayBufferExpected
DetachableArraybufferExpected
WouldDeadlock
Unknown
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Status
impl UnwindSafe for Status
Blanket Implementations
Mutably borrows from an owned value. Read more