[][src]Enum napi_sys::napi_status

#[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,
    napi_handle_scope_mismatch,
    napi_callback_scope_mismatch,
    napi_queue_full,
    napi_closing,
    napi_bigint_expected,
    napi_date_expected,
    napi_arraybuffer_expected,
    napi_detachable_arraybuffer_expected,
}

Variants

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
napi_handle_scope_mismatch
napi_callback_scope_mismatch
napi_queue_full
napi_closing
napi_bigint_expected
napi_date_expected
napi_arraybuffer_expected
napi_detachable_arraybuffer_expected

Trait Implementations

impl Clone for napi_status[src]

impl Copy for napi_status[src]

impl Debug for napi_status[src]

impl Eq for napi_status[src]

impl Hash for napi_status[src]

impl PartialEq<napi_status> for napi_status[src]

impl StructuralEq for napi_status[src]

impl StructuralPartialEq for napi_status[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.