logo
pub struct BatchSpanProcessorBuilder<E, R> { /* private fields */ }
Expand description

A builder for creating BatchSpanProcessor instances.

Implementations

Set max queue size for batches

Set scheduled delay for batches

Set max timeout for exporting.

Set max export size for batches, should always less than or equals to max queue size.

If input is larger than max queue size, will lower it to be equal to max queue size

Build a batch processor

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.