pub type PromiseRejectionTrackerCallback = Option<unsafe extern "C" fn(cx: *mut JSContext, mutedErrors: bool, promise: HandleObject, state: PromiseRejectionHandlingState, data: *mut c_void)>;Aliased Type§
pub enum PromiseRejectionTrackerCallback {
None,
Some(unsafe extern "C" fn(*mut JSContext, bool, Handle<*mut JSObject>, PromiseRejectionHandlingState, *mut c_void)),
}Variants§
None
No value.
Some(unsafe extern "C" fn(*mut JSContext, bool, Handle<*mut JSObject>, PromiseRejectionHandlingState, *mut c_void))
Some value of type T.
Layout§
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.