neon::sys::bindings

Type Alias AsyncExecuteCallback

Source
pub type AsyncExecuteCallback = Option<unsafe extern "C" fn(env: Env, data: *mut c_void)>;
Available on crate features sys and napi-1 only.
Expand description

Aliased Type§

enum AsyncExecuteCallback {
    None,
    Some(unsafe extern "C" fn(_: *mut Env__, _: *mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut Env__, _: *mut c_void))

Some value of type T.