Struct hyper_zipkin::XB3SpanId
[−]
pub struct XB3SpanId(pub SpanId);
The X-B3-SpanId
header.
Its value is a hexadecimal-encoded 8 byte span ID. It corresponds to the
span_id
field of a TraceContext
.
Methods from Deref<Target = SpanId>
Trait Implementations
impl Copy for XB3SpanId
[src]
impl Clone for XB3SpanId
fn clone(&self) -> XB3SpanId
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 XB3SpanId
fn fmt(&self, __arg_0: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for XB3SpanId
fn eq(&self, __arg_0: &XB3SpanId) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &XB3SpanId) -> bool
This method tests for !=
.
impl Deref for XB3SpanId
type Target = SpanId
The resulting type after dereferencing.
fn deref(&self) -> &SpanId
Dereferences the value.
impl DerefMut for XB3SpanId
impl Header for XB3SpanId
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