pub struct LambdaSpanProcessorBuilder<E, S: State = Empty>where
E: SpanExporter + Debug,{ /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<E, S: State> LambdaSpanProcessorBuilder<E, S>where
E: SpanExporter + Debug,
impl<E, S: State> LambdaSpanProcessorBuilder<E, S>where
E: SpanExporter + Debug,
Sourcepub fn build(self) -> LambdaSpanProcessor<E>where
S: IsComplete,
pub fn build(self) -> LambdaSpanProcessor<E>where
S: IsComplete,
Finishes building and performs the requested action.
Sourcepub fn exporter(self, value: E) -> LambdaSpanProcessorBuilder<E, SetExporter<S>>where
S::Exporter: IsUnset,
pub fn exporter(self, value: E) -> LambdaSpanProcessorBuilder<E, SetExporter<S>>where
S::Exporter: IsUnset,
Required.
Sourcepub fn max_batch_size(
self,
value: usize,
) -> LambdaSpanProcessorBuilder<E, SetMaxBatchSize<S>>where
S::MaxBatchSize: IsUnset,
pub fn max_batch_size(
self,
value: usize,
) -> LambdaSpanProcessorBuilder<E, SetMaxBatchSize<S>>where
S::MaxBatchSize: IsUnset,
Sourcepub fn maybe_max_batch_size(
self,
value: Option<usize>,
) -> LambdaSpanProcessorBuilder<E, SetMaxBatchSize<S>>where
S::MaxBatchSize: IsUnset,
pub fn maybe_max_batch_size(
self,
value: Option<usize>,
) -> LambdaSpanProcessorBuilder<E, SetMaxBatchSize<S>>where
S::MaxBatchSize: IsUnset,
Sourcepub fn max_queue_size(
self,
value: usize,
) -> LambdaSpanProcessorBuilder<E, SetMaxQueueSize<S>>where
S::MaxQueueSize: IsUnset,
pub fn max_queue_size(
self,
value: usize,
) -> LambdaSpanProcessorBuilder<E, SetMaxQueueSize<S>>where
S::MaxQueueSize: IsUnset,
Sourcepub fn maybe_max_queue_size(
self,
value: Option<usize>,
) -> LambdaSpanProcessorBuilder<E, SetMaxQueueSize<S>>where
S::MaxQueueSize: IsUnset,
pub fn maybe_max_queue_size(
self,
value: Option<usize>,
) -> LambdaSpanProcessorBuilder<E, SetMaxQueueSize<S>>where
S::MaxQueueSize: IsUnset,
Auto Trait Implementations§
impl<E, S> Freeze for LambdaSpanProcessorBuilder<E, S>where
E: Freeze,
impl<E, S> RefUnwindSafe for LambdaSpanProcessorBuilder<E, S>where
E: RefUnwindSafe,
impl<E, S> Send for LambdaSpanProcessorBuilder<E, S>
impl<E, S> Sync for LambdaSpanProcessorBuilder<E, S>
impl<E, S> Unpin for LambdaSpanProcessorBuilder<E, S>where
E: Unpin,
impl<E, S> UnwindSafe for LambdaSpanProcessorBuilder<E, S>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
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request