Struct zipkin::SamplingFlags [] [src]

pub struct SamplingFlags { /* fields omitted */ }

Flags used to control sampling.

Methods

impl SamplingFlags
[src]

[src]

Returns a builder used to construct SamplingFlags.

[src]

Determines if sampling has been requested for this context.

A value of None indicates that the service working in the context is responsible for determining if it should be sampled.

[src]

Determines if this context is in debug mode.

Debug contexts should always be sampled, regardless of the value of sampled().

Trait Implementations

impl Debug for SamplingFlags
[src]

[src]

Formats the value using the given formatter. Read more

impl Copy for SamplingFlags
[src]

impl Clone for SamplingFlags
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for SamplingFlags
[src]

[src]

Returns the "default value" for a type. Read more

impl From<SamplingFlags> for Builder
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl Send for SamplingFlags

impl Sync for SamplingFlags