pub struct BinaryExportConfig {Show 14 fields
pub buffer_size: usize,
pub include_details: bool,
pub compression_level: u8,
pub advanced_metrics_level: AdvancedMetricsLevel,
pub source_analysis: bool,
pub lifecycle_timeline: bool,
pub container_analysis: bool,
pub fragmentation_analysis: bool,
pub thread_context_tracking: bool,
pub drop_chain_analysis: bool,
pub zst_analysis: bool,
pub health_scoring: bool,
pub performance_benchmarking: bool,
pub string_table_optimization: bool,
}
Expand description
Binary export configuration with advanced metrics support
Fields§
§buffer_size: usize
Buffer size for I/O operations
include_details: bool
Include detailed information
compression_level: u8
Compression level (0-9, 0 = no compression)
advanced_metrics_level: AdvancedMetricsLevel
Advanced metrics collection level
source_analysis: bool
Enable source code analysis (stack traces with file/line info)
lifecycle_timeline: bool
Enable lifecycle timeline analysis
container_analysis: bool
Enable container structure analysis (Vec, HashMap, etc.)
fragmentation_analysis: bool
Enable memory fragmentation analysis
thread_context_tracking: bool
Enable thread context tracking
drop_chain_analysis: bool
Enable Drop chain analysis
zst_analysis: bool
Enable ZST (Zero-Sized Type) analysis
health_scoring: bool
Enable memory health scoring
performance_benchmarking: bool
Enable performance benchmarking
string_table_optimization: bool
Enable string table optimization for repeated strings
Implementations§
Source§impl BinaryExportConfig
impl BinaryExportConfig
Sourcepub fn performance_first() -> Self
pub fn performance_first() -> Self
Performance-first configuration (minimal overhead)
Sourcepub fn debug_comprehensive() -> Self
pub fn debug_comprehensive() -> Self
Debug/development configuration (comprehensive analysis)
Sourcepub fn validate_and_fix(&mut self) -> Vec<String>
pub fn validate_and_fix(&mut self) -> Vec<String>
Validate configuration and apply safe defaults
Sourcepub fn has_advanced_metrics(&self) -> bool
pub fn has_advanced_metrics(&self) -> bool
Check if any advanced metrics are enabled
Sourcepub fn estimated_performance_impact(&self) -> f64
pub fn estimated_performance_impact(&self) -> f64
Get estimated performance impact (0.0 = no impact, 1.0 = significant impact)
Trait Implementations§
Source§impl Clone for BinaryExportConfig
impl Clone for BinaryExportConfig
Source§fn clone(&self) -> BinaryExportConfig
fn clone(&self) -> BinaryExportConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for BinaryExportConfig
impl Debug for BinaryExportConfig
Source§impl Default for BinaryExportConfig
impl Default for BinaryExportConfig
Source§impl<'de> Deserialize<'de> for BinaryExportConfig
impl<'de> Deserialize<'de> for BinaryExportConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Auto Trait Implementations§
impl Freeze for BinaryExportConfig
impl RefUnwindSafe for BinaryExportConfig
impl Send for BinaryExportConfig
impl Sync for BinaryExportConfig
impl Unpin for BinaryExportConfig
impl UnwindSafe for BinaryExportConfig
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
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>
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>
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