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: boolEnable string deduplication
enable_stack_dedup: boolEnable stack trace deduplication
enable_metadata_dedup: boolEnable metadata deduplication
max_cache_size: usizeMaximum cache size for each deduplication type
enable_compression: boolEnable compression for large data
compression_threshold: usizeMinimum size for compression (bytes)
enable_stats: boolEnable statistics collection
cleanup_threshold: f64Auto-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