[][src]Struct sstable::Options

pub struct Options {
    pub cmp: Rc<Box<dyn 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<dyn Cmp>>write_buffer_size: usizeblock_cache: Rc<RefCell<Cache<Block>>>block_size: usizeblock_restart_interval: usizecompression_type: CompressionTypefilter_policy: BoxedFilterPolicy

Trait Implementations

impl Clone for Options[src]

impl Default for Options[src]

Auto Trait Implementations

impl !RefUnwindSafe for Options

impl !Send for Options

impl !Sync for Options

impl Unpin for Options

impl !UnwindSafe for Options

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.