[][src]Trait zipkin::Report

pub trait Report {
    fn report2(&self, span: Span) { ... }
fn report(&self, _: &Span) { ... } }

A reporter consumes Zipkin spans and reports them.

For example, the reporter may log the span information to a file, or send it over the network to a collection service.

Provided methods

fn report2(&self, span: Span)

Reports a span.

For backwards compatibility, the default implementation of this method delegates to the deprecated report method. It should be overridden by all implementations.

fn report(&self, _: &Span)

Deprecated since 0.3.2:

use report2 instead

Loading content...

Implementations on Foreign Types

impl<T: ?Sized> Report for Arc<T> where
    T: Report
[src]

fn report(&self, _: &Span)
[src]

Deprecated since 0.3.2:

use report2 instead

impl<T: ?Sized> Report for Box<T> where
    T: Report
[src]

fn report(&self, _: &Span)
[src]

Deprecated since 0.3.2:

use report2 instead

Loading content...

Implementors

impl Report for LoggingReporter
[src]

fn report(&self, _: &Span)
[src]

Deprecated since 0.3.2:

use report2 instead

impl Report for NopReporter
[src]

fn report(&self, _: &Span)
[src]

Deprecated since 0.3.2:

use report2 instead

Loading content...