pub struct DeduplicationConfig {
pub enable_string_dedup: bool,
pub enable_stack_dedup: bool,
pub enable_metadata_dedup: bool,
pub max_cache_size: usize,
pub enable_compression: bool,
pub compression_threshold: usize,
pub enable_stats: bool,
pub cleanup_threshold: f64,
}
Expand description
Configuration for data deduplication
Fields§
§enable_string_dedup: bool
Enable string deduplication
enable_stack_dedup: bool
Enable stack trace deduplication
enable_metadata_dedup: bool
Enable metadata deduplication
max_cache_size: usize
Maximum cache size for each deduplication type
enable_compression: bool
Enable compression for large data
compression_threshold: usize
Minimum size for compression (bytes)
enable_stats: bool
Enable statistics collection
cleanup_threshold: f64
Auto-cleanup threshold
Trait Implementations§
Source§impl Clone for DeduplicationConfig
impl Clone for DeduplicationConfig
Source§fn clone(&self) -> DeduplicationConfig
fn clone(&self) -> DeduplicationConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DeduplicationConfig
impl Debug for DeduplicationConfig
Auto Trait Implementations§
impl Freeze for DeduplicationConfig
impl RefUnwindSafe for DeduplicationConfig
impl Send for DeduplicationConfig
impl Sync for DeduplicationConfig
impl Unpin for DeduplicationConfig
impl UnwindSafe for DeduplicationConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more