Struct hyper_zipkin::XB3Flags
[−]
[src]
pub struct XB3Flags;
The X-B3-Flags header.
Its value is always 1 if present, which indicates that the context is in
debug mode. It corresponds to the debug field of a `TraceContext.
Trait Implementations
impl Copy for XB3Flags[src]
impl Clone for XB3Flags[src]
fn clone(&self) -> XB3Flags
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 XB3Flags[src]
impl PartialEq for XB3Flags[src]
fn eq(&self, __arg_0: &XB3Flags) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.
impl Header for XB3Flags[src]
fn header_name() -> &'static str
Returns the name of the header field this belongs to. Read more
fn parse_header(raw: &[Vec<u8>]) -> Result<XB3Flags>
Parse a header from a raw stream of bytes. Read more
impl HeaderFormat for XB3Flags[src]
fn fmt_header(&self, fmt: &mut Formatter) -> Result
Format a header to be output into a TcpStream. Read more