[][src]Struct opentelemetry::sdk::trace::span_processor::BatchSpanProcessorWorker

pub struct BatchSpanProcessorWorker { /* fields omitted */ }
[]

A worker process that batches and processes spans as they are reported.

This process is implemented as a [Future] that returns when the accompanying [BatchSpanProcessor] is shut down, and allows systems like [tokio] and [async-std] to process the work in the background without requiring dedicated system threads.

Trait Implementations

impl Future for BatchSpanProcessorWorker[src][+]

type Output = ()

The type of value produced on completion.

Auto Trait Implementations

impl !RefUnwindSafe for BatchSpanProcessorWorker

impl Send for BatchSpanProcessorWorker

impl !Sync for BatchSpanProcessorWorker

impl Unpin for BatchSpanProcessorWorker

impl !UnwindSafe for BatchSpanProcessorWorker

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src][+]

impl<T> Borrow<T> for T where
    T: ?Sized
[src][+]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src][+]

impl<T> From<T> for T[src][+]

impl<T> FutureExt for T[src][+]

impl<T> FutureExt for T where
    T: Future + ?Sized
[src][+]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src][+]

impl<F> IntoFuture for F where
    F: Future
[src][+]

type Output = <F as Future>::Output

🔬 This is a nightly-only experimental API. (into_future)

The output that the future will produce on completion.

type Future = F

🔬 This is a nightly-only experimental API. (into_future)

Which kind of future are we turning this into?

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src][+]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src][+]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src][+]