Struct zipkin::Annotation [] [src]

pub struct Annotation { /* fields omitted */ }

Associates an event that explains latency with a timestamp.

Unlike log statements, annotations are often codes, e.g. "ws" for WireSend.

Zipkin v1 core annotations such as "cs" and "sr" have been replaced with Span::kind, which interprets timestamp and duration.

Methods

impl Annotation
[src]

[src]

Creates a new Annotation.

[src]

Creates a new Annotation at the current time.

[src]

Returns the time at which the annotated event occurred.

[src]

Returns the value of the annotation.

Trait Implementations

impl Debug for Annotation
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for Annotation
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Annotation

impl Sync for Annotation