Struct rustracing_jaeger::Tracer
[−]
[src]
pub struct Tracer { /* fields omitted */ }
Tracer.
Methods
impl Tracer
[src]
fn new<S>(sampler: S) -> (Self, SpanReceiver) where
S: Sampler<SpanContextState> + Send + Sync + 'static,
[src]
S: Sampler<SpanContextState> + Send + Sync + 'static,
Makes a new Tracer
instance.
fn clone_with_sampler<T>(&self, sampler: T) -> Self where
T: Sampler<SpanContextState> + Send + Sync + 'static,
[src]
T: Sampler<SpanContextState> + Send + Sync + 'static,
Clone with the given sampler
.
fn span<N>(&self, operation_name: N) -> StartSpanOptions where
N: Into<Cow<'static, str>>,
[src]
N: Into<Cow<'static, str>>,
Returns StartSpanOptions
for starting a span which has the name operation_name
.
Trait Implementations
impl Clone for Tracer
[src]
fn clone(&self) -> Tracer
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more