[][src]Enum nodejs_sys::napi_status

#[repr(i32)]
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,
}

Variants

napi_oknapi_invalid_argnapi_object_expectednapi_string_expectednapi_name_expectednapi_function_expectednapi_number_expectednapi_boolean_expectednapi_array_expectednapi_generic_failurenapi_pending_exceptionnapi_cancellednapi_escape_called_twicenapi_handle_scope_mismatchnapi_callback_scope_mismatchnapi_queue_fullnapi_closingnapi_bigint_expectednapi_date_expected

Trait Implementations

impl Eq for napi_status[src]

impl Clone for napi_status[src]

impl PartialEq<napi_status> for napi_status[src]

impl Copy for napi_status[src]

impl Hash for napi_status[src]

impl Debug for napi_status[src]

Auto Trait Implementations

Blanket Implementations

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> From<T> for T[src]

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.

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

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

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