Struct zipkin::span::Builder [] [src]

pub struct Builder { /* fields omitted */ }

A builder for Spans.

Methods

impl Builder
[src]

[src]

Sets the name of the span.

Defaults to None.

[src]

Sets the ID of the span's parent.

Defaults to None.

[src]

Sets the kind of the span.

Defaults to None.

[src]

Sets the time of the beginning of the span.

Defaults to None.

[src]

Sets the duration of the span.

Defaults to None.

[src]

Sets the debug state of the span.

Defaults to false.

[src]

Sets the shared state of the span.

Defaults to false.

[src]

Sets the local endpoint of the span.

Defaults to None.

[src]

Sets the remote endpoint of the span.

Defaults to None.

[src]

Adds an annotation to the span.

[src]

Adds multiple annotations to the span.

[src]

Adds a tag to the span.

[src]

As multiple tags to the span.

[src]

Constructs a Span.

Trait Implementations

Auto Trait Implementations

impl Send for Builder

impl Sync for Builder