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>

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

Performs copy-assignment from source. Read more

impl Debug for XB3TraceId

Formats the value using the given formatter.

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

The method called to dereference a value

impl DerefMut for XB3TraceId

The method called to mutably dereference a 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

impl HeaderFormat for XB3TraceId

Format a header to be output into a TcpStream. Read more

impl Display for XB3TraceId

Formats the value using the given formatter. Read more