#[repr(C)]pub struct IWKV_OPTS {
pub path: *const c_char,
pub random_seed: u32,
pub fmt_version: i32,
pub oflags: iwkv_openflags,
pub file_lock_fail_fast: bool,
pub wal: IWKV_WAL_OPTS,
}Expand description
@brief IWKV storage open options.
Fields§
§path: *const c_char< Path to database file
random_seed: u32< Random seed used for iwu random generator
fmt_version: i32Database storage format version. Leave it as zero for the latest supported format. Used only for newly created databases,
oflags: iwkv_openflags< Bitmask of database file open modes
file_lock_fail_fast: bool< Do not wait and raise error if database is locked by another process
wal: IWKV_WAL_OPTS< WAL options
Trait Implementations§
Auto Trait Implementations§
impl Freeze for IWKV_OPTS
impl RefUnwindSafe for IWKV_OPTS
impl !Send for IWKV_OPTS
impl !Sync for IWKV_OPTS
impl Unpin for IWKV_OPTS
impl UnwindSafe for IWKV_OPTS
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more