[−][src]Struct rocks::options::CompactionOptions
CompactionOptions
are used in CompactFiles()
call.
Implementations
impl CompactionOptions
[src]
pub fn new() -> CompactionOptions
[src]
pub fn compression(self, val: CompressionType) -> Self
[src]
Compaction output compression type
Default: snappy
pub fn output_file_size_limit(self, val: u64) -> Self
[src]
Compaction will create files of size output_file_size_limit
.
Default: MAX, which means that compaction will create a single file
Trait Implementations
impl Default for CompactionOptions
[src]
impl Drop for CompactionOptions
[src]
impl Sync for CompactionOptions
[src]
Auto Trait Implementations
impl RefUnwindSafe for CompactionOptions
[src]
impl !Send for CompactionOptions
[src]
impl Unpin for CompactionOptions
[src]
impl UnwindSafe for CompactionOptions
[src]
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, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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>,