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