neon::sys::bindings

Type Alias AsyncCompleteCallback

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

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.