Function librocksdb_sys::crocksdb_eventlistener_create[][src]

pub unsafe extern "C" fn crocksdb_eventlistener_create(
    state: *mut c_void,
    destructor: extern "C" fn(_: *mut c_void),
    flush_begin: extern "C" fn(_: *mut c_void, _: *mut DBInstance, _: *const DBFlushJobInfo),
    flush_completed: extern "C" fn(_: *mut c_void, _: *mut DBInstance, _: *const DBFlushJobInfo),
    compact_begin: extern "C" fn(_: *mut c_void, _: *mut DBInstance, _: *const DBCompactionJobInfo),
    compact_completed: extern "C" fn(_: *mut c_void, _: *mut DBInstance, _: *const DBCompactionJobInfo),
    subcompact_begin: extern "C" fn(_: *mut c_void, _: *const DBSubcompactionJobInfo),
    subcompact_completed: extern "C" fn(_: *mut c_void, _: *const DBSubcompactionJobInfo),
    ingest: extern "C" fn(_: *mut c_void, _: *mut DBInstance, _: *const DBIngestionInfo),
    bg_error: extern "C" fn(_: *mut c_void, _: DBBackgroundErrorReason, _: *mut DBStatusPtr),
    stall_conditions: extern "C" fn(_: *mut c_void, _: *const DBWriteStallInfo)
) -> *mut DBEventListener