pub struct BatchSpanProcessorBuilder<E, R> { /* private fields */ }
Expand description
A builder for creating BatchSpanProcessor
instances.
Implementations§
source§impl<E, R> BatchSpanProcessorBuilder<E, R>where
E: SpanExporter + 'static,
R: RuntimeChannel,
impl<E, R> BatchSpanProcessorBuilder<E, R>where
E: SpanExporter + 'static,
R: RuntimeChannel,
sourcepub fn with_batch_config(self, config: BatchConfig) -> Self
pub fn with_batch_config(self, config: BatchConfig) -> Self
Set the BatchConfig for BatchSpanProcessorBuilder
sourcepub fn build(self) -> BatchSpanProcessor<R>
pub fn build(self) -> BatchSpanProcessor<R>
Build a batch processor
Trait Implementations§
Auto Trait Implementations§
impl<E, R> Freeze for BatchSpanProcessorBuilder<E, R>
impl<E, R> RefUnwindSafe for BatchSpanProcessorBuilder<E, R>where
E: RefUnwindSafe,
R: RefUnwindSafe,
impl<E, R> Send for BatchSpanProcessorBuilder<E, R>
impl<E, R> Sync for BatchSpanProcessorBuilder<E, R>
impl<E, R> Unpin for BatchSpanProcessorBuilder<E, R>
impl<E, R> UnwindSafe for BatchSpanProcessorBuilder<E, R>where
E: UnwindSafe,
R: UnwindSafe,
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