pub struct OpenOptions {
pub io_thread: IoThreadConfig,
pub block_cache_bytes: usize,
pub format_version: Option<u32>,
}Expand description
Options for opening InfiniteDb (formats v2–v4).
Fields§
§io_thread: IoThreadConfigI/O thread queue depth, staging, and durability settings.
block_cache_bytes: usizeIn-memory block cache size in bytes for the block store.
format_version: Option<u32>When None, new databases use format v4 (Hilbert shards + branches).
Implementations§
Source§impl OpenOptions
impl OpenOptions
Trait Implementations§
Source§impl Clone for OpenOptions
impl Clone for OpenOptions
Source§fn clone(&self) -> OpenOptions
fn clone(&self) -> OpenOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OpenOptions
impl Debug for OpenOptions
Auto Trait Implementations§
impl Freeze for OpenOptions
impl RefUnwindSafe for OpenOptions
impl Send for OpenOptions
impl Sync for OpenOptions
impl Unpin for OpenOptions
impl UnsafeUnpin for OpenOptions
impl UnwindSafe for OpenOptions
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