Struct hyper_zipkin::XB3ParentSpanId
[−]
pub struct XB3ParentSpanId(pub SpanId);
The X-B3-ParentSpanID header.
Its value is a hexadecimal-encoded 8 byte span ID. It corresponds to the
parent_id field of a TraceContext.
Methods from Deref<Target = SpanId>
Trait Implementations
impl Copy for XB3ParentSpanId[src]
impl Clone for XB3ParentSpanId
fn clone(&self) -> XB3ParentSpanId
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl Debug for XB3ParentSpanId
impl PartialEq for XB3ParentSpanId
fn eq(&self, __arg_0: &XB3ParentSpanId) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &XB3ParentSpanId) -> bool
This method tests for !=.
impl Deref for XB3ParentSpanId
type Target = SpanId
The resulting type after dereferencing
fn deref(&self) -> &SpanId
The method called to dereference a value
impl DerefMut for XB3ParentSpanId
impl Header for XB3ParentSpanId
fn header_name() -> &'static str
Returns the name of the header field this belongs to. Read more
fn parse_header(raw: &[Vec<u8>]) -> Result<Self>
Parse a header from a raw stream of bytes. Read more
impl HeaderFormat for XB3ParentSpanId
fn fmt_header(&self, f: &mut Formatter) -> Result
Format a header to be output into a TcpStream. Read more