Trait engine_traits::DBOptions[][src]

pub trait DBOptions {
    type TitanDBOptions: TitanDBOptions;
    fn new() -> Self;
fn get_max_background_jobs(&self) -> i32;
fn get_rate_bytes_per_sec(&self) -> Option<i64>;
fn set_rate_bytes_per_sec(&mut self, rate_bytes_per_sec: i64) -> Result<()>;
fn get_rate_limiter_auto_tuned(&self) -> Option<bool>;
fn set_rate_limiter_auto_tuned(
        &mut self,
        rate_limiter_auto_tuned: bool
    ) -> Result<()>;
fn set_titandb_options(&mut self, opts: &Self::TitanDBOptions); }

A handle to a database’s options

Associated Types

type TitanDBOptions: TitanDBOptions[src]

Loading content...

Required methods

fn new() -> Self[src]

fn get_max_background_jobs(&self) -> i32[src]

fn get_rate_bytes_per_sec(&self) -> Option<i64>[src]

fn set_rate_bytes_per_sec(&mut self, rate_bytes_per_sec: i64) -> Result<()>[src]

fn get_rate_limiter_auto_tuned(&self) -> Option<bool>[src]

fn set_rate_limiter_auto_tuned(
    &mut self,
    rate_limiter_auto_tuned: bool
) -> Result<()>
[src]

fn set_titandb_options(&mut self, opts: &Self::TitanDBOptions)[src]

Loading content...

Implementors

Loading content...