Function leveldb_sys::leveldb_open[][src]

pub unsafe extern "C" fn leveldb_open(
    options: *const leveldb_options_t,
    name: *const c_char,
    errptr: *mut *mut c_char
) -> *mut leveldb_t
Expand description

Open the database at path name with the configurations set in options. In case of success, the return value represents an open database.

If this operation fails,

  • leveldb_t is a nullpointer
  • errptr contains more information about the error reason