pub struct DiskOrderedCursorOptions {
pub queue_size: usize,
pub internal_memory_limit: usize,
pub lsn_batch_size: usize,
pub keys_only: bool,
pub dedup_keys: bool,
}Expand description
Plain-data options accepted by DiskOrderedCursorImpl::open.
The public noxu-db::DiskOrderedCursorConfig is mapped onto this struct
at the API boundary so the implementation crate has no knowledge of the
outer config type.
Fields§
§queue_size: usizeMaximum number of entries the data channel may hold.
internal_memory_limit: usizeSoft cap on the cumulative key+data bytes buffered in the channel.
lsn_batch_size: usizeAdvisory: max LSNs to consider per producer batch. Currently honoured as a periodic shutdown-flag check interval.
keys_only: boolIf true, only key bytes are returned; data is empty.
dedup_keys: boolIf true, keep a (db_idx, key) HashSet and skip duplicates.
Trait Implementations§
Source§impl Clone for DiskOrderedCursorOptions
impl Clone for DiskOrderedCursorOptions
Source§fn clone(&self) -> DiskOrderedCursorOptions
fn clone(&self) -> DiskOrderedCursorOptions
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 DiskOrderedCursorOptions
impl Debug for DiskOrderedCursorOptions
Auto Trait Implementations§
impl Freeze for DiskOrderedCursorOptions
impl RefUnwindSafe for DiskOrderedCursorOptions
impl Send for DiskOrderedCursorOptions
impl Sync for DiskOrderedCursorOptions
impl Unpin for DiskOrderedCursorOptions
impl UnsafeUnpin for DiskOrderedCursorOptions
impl UnwindSafe for DiskOrderedCursorOptions
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