Type Alias cassandra_cpp_sys::CassFutureCallback

source ·
pub type CassFutureCallback = Option<unsafe extern "C" fn(future: *mut CassFuture, data: *mut c_void)>;
Expand description

A callback that’s notified when the future is set.

@param[in] message @param[in] data user defined data provided when the callback was registered.

@see cass_future_set_callback()

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.