Struct rustracing::sampler::AllSampler[][src]

pub struct AllSampler;

This samples all traces.

Trait Implementations

impl Debug for AllSampler
[src]

Formats the value using the given formatter. Read more

impl Clone for AllSampler
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T> Sampler<T> for AllSampler
[src]

This method decides whether a trace with given span should be sampled.

Returns the sampler that samples a trace if self or other decides to sample it.

Returns the sampler that samples a trace if both of self and other decides to sample it.

Converts into BoxSampler.

Auto Trait Implementations

impl Send for AllSampler

impl Sync for AllSampler