Enum napi::NapiErrorKind [] [src]

pub enum NapiErrorKind {
    InvalidArg,
    ObjectExpected,
    StringExpected,
    NameExpected,
    FunctionExpected,
    NumberExpected,
    BooleanExpected,
    ArrayExpected,
    GenericFailure,
    PendingException,
    Cancelled,
    EscapeCalledTwice,
    ApplicationError,
}

Variants

Methods

impl NapiErrorKind
[src]

[src]

Trait Implementations

impl Clone for NapiErrorKind
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for NapiErrorKind
[src]

impl Debug for NapiErrorKind
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for NapiErrorKind
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Eq for NapiErrorKind
[src]