[][src]Struct opentelemetry::exporter::trace::stdout::Exporter

pub struct Exporter<W: Write> { /* fields omitted */ }

A SpanExporter that writes to Stdout or other configured Write.

Implementations

impl<W: Write> Exporter<W>[src]

pub fn new(writer: W, pretty_print: bool) -> Self[src]

Create a new stdout Exporter.

Trait Implementations

impl<W: Debug + Write> Debug for Exporter<W>[src]

impl<W> SpanExporter for Exporter<W> where
    W: Write + Debug + Send + 'static, 
[src]

fn export<'life0, 'async_trait>(
    &'life0 self,
    batch: Vec<SpanData>
) -> Pin<Box<dyn Future<Output = ExportResult> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Export spans to stdout

Auto Trait Implementations

impl<W> RefUnwindSafe for Exporter<W>

impl<W> Send for Exporter<W> where
    W: Send

impl<W> Sync for Exporter<W> where
    W: Send

impl<W> Unpin for Exporter<W> where
    W: Unpin

impl<W> UnwindSafe for Exporter<W>

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, U> Into<U> for T where
    U: From<T>, 
[src]

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>,