Struct hyper_zipkin::XB3TraceId []

pub struct XB3TraceId(pub TraceId);

The X-B3-TraceId header.

Its value is a hexadecimal-encoded 8 or 16 byte trace ID. It corresponds to the trace_id field of a TraceContext.

Methods from Deref<Target = TraceId>

Important traits for &'a mut [u8]
[src]

Returns the byte representation of the trace ID.

Trait Implementations

impl Copy for XB3TraceId
[src]

impl Clone for XB3TraceId

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for XB3TraceId

Formats the value using the given formatter. Read more

impl PartialEq for XB3TraceId

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Deref for XB3TraceId

The resulting type after dereferencing.

Dereferences the value.

impl DerefMut for XB3TraceId

Mutably dereferences the value.

impl Header for XB3TraceId

Returns the name of the header field this belongs to. Read more

Parse a header from a raw stream of bytes. Read more

Format a header to outgoing stream. Read more

impl Display for XB3TraceId

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for XB3TraceId

impl Sync for XB3TraceId