Struct sstable::Options
[−]
[src]
pub struct Options { pub cmp: Rc<Box<Cmp>>, pub write_buffer_size: usize, pub block_cache: Rc<RefCell<Cache<Block>>>, pub block_size: usize, pub block_restart_interval: usize, pub compression_type: CompressionType, pub filter_policy: BoxedFilterPolicy, }
Options contains general parameters for reading and writing SSTables. Most of the names are
self-explanatory; the defaults are defined in the Default
implementation.
Fields
cmp: Rc<Box<Cmp>>
write_buffer_size: usize
block_cache: Rc<RefCell<Cache<Block>>>
block_size: usize
block_restart_interval: usize
compression_type: CompressionType
filter_policy: BoxedFilterPolicy
Trait Implementations
impl Clone for Options
[src]
fn clone(&self) -> Options
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more