Struct opentracingrust::tracers::FileTracer
[−]
[src]
pub struct FileTracer { /* fields omitted */ }
TODO
Methods
impl FileTracer
[src]
fn new() -> (FileTracer, SpanReceiver)
[src]
TODO
fn write_trace<W: Write>(span: FinishedSpan, file: &mut W) -> Result<()>
[src]
TODO
Trait Implementations
impl TracerInterface for FileTracer
[src]
fn extract(&self, fmt: ExtractFormat) -> Result<Option<SpanContext>>
[src]
Extract a span context from a text map or HTTP headers.
Note that the binary extraction format is not supported by FileTracer
.
fn inject(&self, context: &SpanContext, fmt: InjectFormat) -> Result<()>
[src]
Inject the span context into a text map or HTTP headers.
Note that the binary injection format is not supported by FileTracer
.
fn span(&self, name: &str) -> Span
[src]
TODO