Struct rocksdb::FifoCompactOptions
source · [−]pub struct FifoCompactOptions { /* private fields */ }
Implementations
sourceimpl FifoCompactOptions
impl FifoCompactOptions
sourcepub fn set_max_table_files_size(&mut self, nbytes: u64)
pub fn set_max_table_files_size(&mut self, nbytes: u64)
Sets the max table file size.
Once the total sum of table files reaches this, we will delete the oldest table file
Default: 1GB
Trait Implementations
sourceimpl Default for FifoCompactOptions
impl Default for FifoCompactOptions
sourcefn default() -> FifoCompactOptions
fn default() -> FifoCompactOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for FifoCompactOptions
impl !Send for FifoCompactOptions
impl !Sync for FifoCompactOptions
impl Unpin for FifoCompactOptions
impl UnwindSafe for FifoCompactOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more