Struct zipkin::trace_id::TraceId
[−]
[src]
pub struct TraceId(_);
The ID of a trace.
Trace IDs are either 8 or 16 bytes, and are serialized as hexadecimal strings.
Methods
impl TraceId
[src]
Trait Implementations
impl Copy for TraceId
[src]
impl Clone for TraceId
[src]
fn clone(&self) -> TraceId
[src]
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 TraceId
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for TraceId
[src]
fn eq(&self, __arg_0: &TraceId) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &TraceId) -> bool
[src]
This method tests for !=
.
impl Eq for TraceId
[src]
impl Display for TraceId
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl FromStr for TraceId
[src]
type Err = TraceIdParseError
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<TraceId, TraceIdParseError>
[src]
Parses a string s
to return a value of this type. Read more