pub unsafe extern "C" fn mdb_env_set_assert(
    env: *mut MDB_env,
    func: MDB_assert_func
) -> c_int
Expand description

Set or reset the assert() callback of the environment. Disabled if liblmdb is buillt with NDEBUG. @note This hack should become obsolete as lmdb’s error handling matures. @param[in] env An environment handle returned by #mdb_env_create(). @param[in] func An #MDB_assert_func function, or 0. @return A non-zero error value on failure and 0 on success.