Struct zipkin::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]

A builder-style version of name.

[src]

Sets the kind of this span.

[src]

A builder-style version of kind.

[src]

Sets the remote endpoint of this span.

[src]

A builder-style version of remote_endpoint.

[src]

Attaches an annotation to this span.

[src]

A builder-style version of annotate.

[src]

Attaches a tag to this span.

[src]

A builder-style version of tag.

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