reth_db::mdbx::ffi

Function mdbx_replace_ex

pub unsafe extern "C" fn mdbx_replace_ex(
    txn: *mut MDBX_txn,
    dbi: u32,
    key: *const iovec,
    new_data: *mut iovec,
    old_data: *mut iovec,
    flags: u32,
    preserver: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut iovec, _: *const c_void, _: usize) -> i32>,
    preserver_context: *mut c_void,
) -> i32
Available on crate feature mdbx only.