foundationdb_sys

Type Alias FDBCallback

source
pub type FDBCallback = Option<unsafe extern "C" fn(future: *mut FDBFuture, callback_parameter: *mut c_void)>;

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.