pub struct BatchSpanProcessorBuilder<E>where
E: SpanExporter + Send + 'static,{ /* private fields */ }
Expand description
Builder for BatchSpanProcessorDedicatedThread
.
Implementations§
Source§impl<E> BatchSpanProcessorBuilder<E>where
E: SpanExporter + Send + 'static,
impl<E> BatchSpanProcessorBuilder<E>where
E: SpanExporter + Send + 'static,
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
pub fn build(self) -> BatchSpanProcessor
Build a new instance of BatchSpanProcessor
.
Trait Implementations§
Source§impl<E> Debug for BatchSpanProcessorBuilder<E>
impl<E> Debug for BatchSpanProcessorBuilder<E>
Source§impl<E> Default for BatchSpanProcessorBuilder<E>
impl<E> Default for BatchSpanProcessorBuilder<E>
Source§fn default() -> BatchSpanProcessorBuilder<E>
fn default() -> BatchSpanProcessorBuilder<E>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<E> Freeze for BatchSpanProcessorBuilder<E>where
E: Freeze,
impl<E> RefUnwindSafe for BatchSpanProcessorBuilder<E>where
E: RefUnwindSafe,
impl<E> Send for BatchSpanProcessorBuilder<E>
impl<E> Sync for BatchSpanProcessorBuilder<E>
impl<E> Unpin for BatchSpanProcessorBuilder<E>where
E: Unpin,
impl<E> UnwindSafe for BatchSpanProcessorBuilder<E>where
E: 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