Struct engine_rocks::raw::TitanDBOptions [−][src]
Fields
inner: *mut DBTitanDBOptions
Implementations
impl TitanDBOptions
[src]
pub fn new() -> TitanDBOptions
[src]
pub fn dirname(&self) -> &str
[src]
pub fn set_dirname(&mut self, name: &str)
[src]
pub fn min_blob_size(&self) -> u64
[src]
pub fn set_min_blob_size(&mut self, size: u64)
[src]
pub fn blob_file_compression(&self) -> DBCompressionType
[src]
pub fn set_blob_file_compression(&mut self, t: DBCompressionType)
[src]
pub fn set_compression_options(
&mut self,
window_bits: i32,
level: i32,
strategy: i32,
max_dict_bytes: i32,
zstd_max_train_bytes: i32
)
[src]
&mut self,
window_bits: i32,
level: i32,
strategy: i32,
max_dict_bytes: i32,
zstd_max_train_bytes: i32
)
pub fn set_disable_background_gc(&mut self, disable: bool)
[src]
pub fn set_level_merge(&mut self, enable: bool)
[src]
pub fn set_range_merge(&mut self, enable: bool)
[src]
pub fn set_max_sorted_runs(&mut self, size: i32)
[src]
pub fn set_max_background_gc(&mut self, size: i32)
[src]
pub fn set_purge_obsolete_files_period(&mut self, period: usize)
[src]
pub fn set_min_gc_batch_size(&mut self, size: u64)
[src]
pub fn set_max_gc_batch_size(&mut self, size: u64)
[src]
pub fn set_blob_cache(
&mut self,
size: usize,
shard_bits: i32,
capacity_limit: bool,
pri_ratio: f64
)
[src]
&mut self,
size: usize,
shard_bits: i32,
capacity_limit: bool,
pri_ratio: f64
)
pub fn set_discardable_ratio(&mut self, ratio: f64)
[src]
pub fn set_sample_ratio(&mut self, ratio: f64)
[src]
pub fn set_merge_small_file_threshold(&mut self, size: u64)
[src]
pub fn set_blob_run_mode(&mut self, t: DBTitanDBBlobRunMode)
[src]
pub fn set_gc_merge_rewrite(&mut self, enable: bool)
[src]
Trait Implementations
impl Drop for TitanDBOptions
[src]
Auto Trait Implementations
impl RefUnwindSafe for TitanDBOptions
impl !Send for TitanDBOptions
impl !Sync for TitanDBOptions
impl Unpin for TitanDBOptions
impl UnwindSafe for TitanDBOptions
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Pointable for T
[src]
pub const ALIGN: usize
[src]
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
[src]
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
[src]
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
[src]
pub unsafe fn drop(ptr: usize)
[src]
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self
impl<T> Sealed<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src]
V: MultiLane<T>,