Struct zipkin::trace_context::Builder [] [src]

pub struct Builder { /* fields omitted */ }

A builder type for TraceContexts.

Methods

impl Builder
[src]

[src]

Sets the ID of the parent span of this context.

Defaults to None.

[src]

Sets the sampling flags for this context.

[src]

Sets the sampling request for this context.

Defaults to None.

[src]

Sets the debug flag for this request.

Defaults to false.

[src]

Constructs a TraceContext.

Trait Implementations

Auto Trait Implementations

impl Send for Builder

impl Sync for Builder