pub struct BinaryExportConfigBuilder { /* private fields */ }
Expand description
Builder pattern for BinaryExportConfig
Implementations§
Source§impl BinaryExportConfigBuilder
impl BinaryExportConfigBuilder
Sourcepub fn from_config(config: BinaryExportConfig) -> Self
pub fn from_config(config: BinaryExportConfig) -> Self
Create builder from existing config
Sourcepub fn buffer_size(self, size: usize) -> Self
pub fn buffer_size(self, size: usize) -> Self
Set buffer size
Sourcepub fn compression_level(self, level: u8) -> Self
pub fn compression_level(self, level: u8) -> Self
Set compression level
Sourcepub fn advanced_metrics_level(self, level: AdvancedMetricsLevel) -> Self
pub fn advanced_metrics_level(self, level: AdvancedMetricsLevel) -> Self
Set advanced metrics level
Sourcepub fn source_analysis(self, enable: bool) -> Self
pub fn source_analysis(self, enable: bool) -> Self
Enable/disable source analysis
Sourcepub fn lifecycle_timeline(self, enable: bool) -> Self
pub fn lifecycle_timeline(self, enable: bool) -> Self
Enable/disable lifecycle timeline
Sourcepub fn container_analysis(self, enable: bool) -> Self
pub fn container_analysis(self, enable: bool) -> Self
Enable/disable container analysis
Sourcepub fn fragmentation_analysis(self, enable: bool) -> Self
pub fn fragmentation_analysis(self, enable: bool) -> Self
Enable/disable fragmentation analysis
Sourcepub fn thread_context_tracking(self, enable: bool) -> Self
pub fn thread_context_tracking(self, enable: bool) -> Self
Enable/disable thread context tracking
Sourcepub fn drop_chain_analysis(self, enable: bool) -> Self
pub fn drop_chain_analysis(self, enable: bool) -> Self
Enable/disable Drop chain analysis
Sourcepub fn zst_analysis(self, enable: bool) -> Self
pub fn zst_analysis(self, enable: bool) -> Self
Enable/disable ZST analysis
Sourcepub fn health_scoring(self, enable: bool) -> Self
pub fn health_scoring(self, enable: bool) -> Self
Enable/disable health scoring
Sourcepub fn performance_benchmarking(self, enable: bool) -> Self
pub fn performance_benchmarking(self, enable: bool) -> Self
Enable/disable performance benchmarking
Sourcepub fn string_table_optimization(self, enable: bool) -> Self
pub fn string_table_optimization(self, enable: bool) -> Self
Enable/disable string table optimization
Sourcepub fn build(self) -> BinaryExportConfig
pub fn build(self) -> BinaryExportConfig
Build the configuration
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BinaryExportConfigBuilder
impl RefUnwindSafe for BinaryExportConfigBuilder
impl Send for BinaryExportConfigBuilder
impl Sync for BinaryExportConfigBuilder
impl Unpin for BinaryExportConfigBuilder
impl UnwindSafe for BinaryExportConfigBuilder
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> 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