Enum napi::NapiErrorKind
[−]
[src]
pub enum NapiErrorKind { InvalidArg, ObjectExpected, StringExpected, NameExpected, FunctionExpected, NumberExpected, BooleanExpected, ArrayExpected, GenericFailure, PendingException, Cancelled, EscapeCalledTwice, ApplicationError, }
Variants
InvalidArg
ObjectExpected
StringExpected
NameExpected
FunctionExpected
NumberExpected
BooleanExpected
ArrayExpected
GenericFailure
PendingException
Cancelled
EscapeCalledTwice
ApplicationError
Methods
impl NapiErrorKind
[src]
fn from_napi_status(status: napi_status) -> Self
[src]
Trait Implementations
impl Clone for NapiErrorKind
[src]
fn clone(&self) -> NapiErrorKind
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for NapiErrorKind
[src]
impl Debug for NapiErrorKind
[src]
impl PartialEq for NapiErrorKind
[src]
fn eq(&self, __arg_0: &NapiErrorKind) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.