Trait Report

Source
pub trait Report {
    // Required method
    fn report(&self, span: Span);
}
Expand description

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.

Required Methods§

Source

fn report(&self, span: Span)

Reports a span.

Implementations on Foreign Types§

Source§

impl<T> Report for Box<T>
where T: ?Sized + Report,

Source§

fn report(&self, span: Span)

Source§

impl<T> Report for Arc<T>
where T: ?Sized + Report,

Source§

fn report(&self, span: Span)

Implementors§