#[repr(C)]pub struct _EJDB_OPTS {
pub kv: IWKV_OPTS,
pub http: EJDB_HTTP,
pub no_wal: bool,
pub sort_buffer_sz: u32,
pub document_buffer_sz: u32,
}Expand description
@brief EJDB open options.
Fields§
§kv: IWKV_OPTS< IWKV storage options. @see iwkv.h
http: EJDB_HTTP< HTTP/Websocket server options
no_wal: bool< Do not use write-ahead-log. Default: false
sort_buffer_sz: u32< Max sorting buffer size. If exceeded an overflow temp file for sorted data will created. Default 16Mb, min: 1Mb
document_buffer_sz: u32< Initial size of buffer in bytes used to process/store document during query execution. Default 64Kb, min: 16Kb
Trait Implementations§
Source§impl Clone for _EJDB_OPTS
impl Clone for _EJDB_OPTS
Source§fn clone(&self) -> _EJDB_OPTS
fn clone(&self) -> _EJDB_OPTS
Returns a copy of the value. Read more
1.0.0 · 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 _EJDB_OPTS
impl Debug for _EJDB_OPTS
impl Copy for _EJDB_OPTS
Auto Trait Implementations§
impl Freeze for _EJDB_OPTS
impl RefUnwindSafe for _EJDB_OPTS
impl !Send for _EJDB_OPTS
impl !Sync for _EJDB_OPTS
impl Unpin for _EJDB_OPTS
impl UnwindSafe for _EJDB_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