Struct zipkin::tracer::OpenSpan [] [src]

pub struct OpenSpan { /* fields omitted */ }

An open span.

This is a guard object - the span will be finished and reported when it falls out of scope.

Methods

impl OpenSpan
[src]

[src]

Returns the context associated with this span.

[src]

Sets the name of this span.

[src]

Sets the kind of this span.

[src]

Sets the remote endpoint of this span.

[src]

Attaches an annotation to this span.

[src]

Attaches a tag to this span.

Trait Implementations

impl Drop for OpenSpan
[src]

[src]

Executes the destructor for this type. Read more

Auto Trait Implementations

impl !Send for OpenSpan

impl !Sync for OpenSpan