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>
Trait Implementations
impl Copy for XB3TraceId
[src]
impl Clone for XB3TraceId
fn clone(&self) -> XB3TraceId
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for XB3TraceId
fn fmt(&self, __arg_0: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for XB3TraceId
fn eq(&self, __arg_0: &XB3TraceId) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &XB3TraceId) -> bool
This method tests for !=
.
impl Deref for XB3TraceId
type Target = TraceId
The resulting type after dereferencing.
fn deref(&self) -> &TraceId
Dereferences the value.
impl DerefMut for XB3TraceId
impl Header for XB3TraceId
fn header_name() -> &'static str
Returns the name of the header field this belongs to. Read more
fn parse_header(raw: &Raw) -> Result<Self>
Parse a header from a raw stream of bytes. Read more
fn fmt_header(&self, f: &mut Formatter) -> Result
Format a header to outgoing stream. Read more