Enum napi_sys::napi_status [] [src]

#[repr(u32)]
pub enum napi_status { napi_ok, napi_invalid_arg, napi_object_expected, napi_string_expected, napi_name_expected, napi_function_expected, napi_number_expected, napi_boolean_expected, napi_array_expected, napi_generic_failure, napi_pending_exception, napi_cancelled, napi_escape_called_twice, }

Variants

Trait Implementations

impl Debug for napi_status
[src]

[src]

Formats the value using the given formatter.

impl Copy for napi_status
[src]

impl Clone for napi_status
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for napi_status
[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 napi_status
[src]

impl Hash for napi_status
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more