pub struct SelectiveJsonExportConfigBuilder { /* private fields */ }
Expand description
Builder for selective JSON export configuration
Implementations§
Source§impl SelectiveJsonExportConfigBuilder
impl SelectiveJsonExportConfigBuilder
Sourcepub fn json_writer_config(self, config: StreamingJsonWriterConfig) -> Self
pub fn json_writer_config(self, config: StreamingJsonWriterConfig) -> Self
Set JSON writer configuration
Sourcepub fn batch_processor_config(self, config: BatchProcessorConfig) -> Self
pub fn batch_processor_config(self, config: BatchProcessorConfig) -> Self
Set batch processor configuration
Sourcepub fn index_cache_config(self, config: IndexCacheConfig) -> Self
pub fn index_cache_config(self, config: IndexCacheConfig) -> Self
Set index cache configuration
Sourcepub fn serialization_options(
self,
options: SelectiveSerializationOptions,
) -> Self
pub fn serialization_options( self, options: SelectiveSerializationOptions, ) -> Self
Set serialization options
Sourcepub fn parallel_processing(self, enabled: bool) -> Self
pub fn parallel_processing(self, enabled: bool) -> Self
Enable or disable parallel processing
Sourcepub fn max_concurrent_exports(self, max: usize) -> Self
pub fn max_concurrent_exports(self, max: usize) -> Self
Set maximum concurrent exports
Sourcepub fn error_recovery(self, enabled: bool) -> Self
pub fn error_recovery(self, enabled: bool) -> Self
Enable or disable error recovery
Sourcepub fn performance_monitoring(self, enabled: bool) -> Self
pub fn performance_monitoring(self, enabled: bool) -> Self
Enable or disable performance monitoring
Sourcepub fn build(self) -> SelectiveJsonExportConfig
pub fn build(self) -> SelectiveJsonExportConfig
Build the configuration
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SelectiveJsonExportConfigBuilder
impl RefUnwindSafe for SelectiveJsonExportConfigBuilder
impl Send for SelectiveJsonExportConfigBuilder
impl Sync for SelectiveJsonExportConfigBuilder
impl Unpin for SelectiveJsonExportConfigBuilder
impl UnwindSafe for SelectiveJsonExportConfigBuilder
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