pub type JSHostPromiseRejectionTracker = Option<unsafe extern "C" fn(ctx: *mut JSContext, promise: JSValue, reason: JSValue, is_handled: c_int, opaque: *mut c_void)>;

Aliased Type§

enum JSHostPromiseRejectionTracker {
    None,
    Some(unsafe extern "C" fn(_: *mut JSContext, _: JSValue, _: JSValue, _: i32, _: *mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut JSContext, _: JSValue, _: JSValue, _: i32, _: *mut c_void))

Some value of type T.