pub enum NapiStatus {
Show 21 variants
Ok = 0,
InvalidArg = 1,
ObjectExpected = 2,
StringExpected = 3,
NameExpected = 4,
FunctionExpected = 5,
NumberExpected = 6,
BooleanExpected = 7,
ArrayExpected = 8,
GenericFailure = 9,
PendingException = 10,
Cancelled = 11,
EscapeCalledTwice = 12,
HandleScopeMismatch = 13,
CallbackScopeMismatch = 14,
QueueFull = 15,
Closing = 16,
BigintExpected = 17,
DateExpected = 18,
ArraybufferExpected = 19,
DetachableArrayBufferExpected = 20,
}
Variants§
Ok = 0
InvalidArg = 1
ObjectExpected = 2
StringExpected = 3
NameExpected = 4
FunctionExpected = 5
NumberExpected = 6
BooleanExpected = 7
ArrayExpected = 8
GenericFailure = 9
PendingException = 10
Cancelled = 11
EscapeCalledTwice = 12
HandleScopeMismatch = 13
CallbackScopeMismatch = 14
QueueFull = 15
Closing = 16
BigintExpected = 17
DateExpected = 18
ArraybufferExpected = 19
DetachableArrayBufferExpected = 20
Trait Implementations§
Source§impl Debug for NapiStatus
impl Debug for NapiStatus
Source§impl From<NapiStatus> for NjError
impl From<NapiStatus> for NjError
Source§fn from(status: NapiStatus) -> NjError
fn from(status: NapiStatus) -> NjError
Converts to this type from the input type.
Source§impl From<u32> for NapiStatus
impl From<u32> for NapiStatus
Source§fn from(status: u32) -> NapiStatus
fn from(status: u32) -> NapiStatus
Converts to this type from the input type.
Source§impl PartialEq for NapiStatus
impl PartialEq for NapiStatus
impl Eq for NapiStatus
impl StructuralPartialEq for NapiStatus
Auto Trait Implementations§
impl Freeze for NapiStatus
impl RefUnwindSafe for NapiStatus
impl Send for NapiStatus
impl Sync for NapiStatus
impl Unpin for NapiStatus
impl UnwindSafe for NapiStatus
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