pub struct ReaderOptions {
pub ipv4_block_cache_capacity: usize,
pub ipv6_block_cache_capacity: usize,
pub chunk_cache_capacity: usize,
pub flat_dict_cache_capacity: usize,
pub verify_all_checksums_on_open: bool,
}Expand description
Configuration options for opening a .coi database.
Fields§
§ipv4_block_cache_capacity: usizeMaximum number of decoded IPv4 granule blocks kept in LRU cache (default 256 ≈ 4 MB max).
ipv6_block_cache_capacity: usizeMaximum number of decoded IPv6 granule blocks kept in LRU cache (default 128 ≈ 3 MB max).
chunk_cache_capacity: usizeMaximum number of decoded ColumnTable RowGroup chunks kept in LRU cache (default 256).
flat_dict_cache_capacity: usizeMaximum number of decoded blocks per large chunked FlatDict (default 32).
verify_all_checksums_on_open: boolWhether to verify CRC32C checksums of all sections upon opening (default false;
Header + Section Directory CRCs are always verified).
Trait Implementations§
Source§impl Clone for ReaderOptions
impl Clone for ReaderOptions
Source§impl Debug for ReaderOptions
impl Debug for ReaderOptions
Auto Trait Implementations§
impl Forget for ReaderOptions
impl Freeze for ReaderOptions
impl Move for ReaderOptions
impl RefUnwindSafe for ReaderOptions
impl Send for ReaderOptions
impl Sync for ReaderOptions
impl Unpin for ReaderOptions
impl UnsafeUnpin for ReaderOptions
impl UnwindSafe for ReaderOptions
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