Struct mick_jaeger::TracesIn

source ·
pub struct TracesIn { /* private fields */ }

Implementations§

Builds a new Span.

Must be passed a trace_id that is used to group spans together. Its meaning is arbitrary.

Builds a new Span, using a specific span ID.

Use this method when it is required to know the ID of a span, for example when building links between spans across different services.

Builds a new Span, whose parent uses a specific span ID.

A parent_id equal to 0 means “no parent”.

Builds a new Span, with a specific ID whose parent uses a specific span ID.

A parent_id equal to 0 means “no parent”.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.