Struct opentracingrust::SpanContext
[−]
[src]
pub struct SpanContext { /* fields omitted */ }
TODO
IDEA:
Separate the SpanContext
into a tracer specific ImplContext
and
a set of common features shared by all tracer implementations.
The ImplContext
uses the std::any::Any
features to define a generic
wrapper for implementation specific code.
Methods
impl SpanContext
[src]
fn new<Context: 'static + ImplContext>(inner: Context) -> SpanContext
[src]
TODO
impl SpanContext
[src]
fn impl_context<T: Any>(&self) -> Option<&T>
[src]
TODO
fn baggage_items(&self) -> &[BaggageItem]
[src]
TODO
fn get_baggage_item(&self, key: &str) -> Option<&BaggageItem>
[src]
TODO
fn reference_span(&mut self, reference: &SpanReference)
[src]
TODO
fn set_baggage_item(&mut self, item: BaggageItem)
[src]
TODO
Trait Implementations
impl Clone for SpanContext
[src]
fn clone(&self) -> Self
[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