Struct opentelemetry::trace::SpanId [−][src]
pub struct SpanId(_);
This is supported on crate feature
trace
only.Expand description
SpanId is an 8-byte value which uniquely identifies a given span within a trace
The actual u64
value is wrapped in a tuple struct in order to leverage the newtype pattern
Implementations
Convert from SpanId to Big-Endian byte array
Construct a new SpanId from Big-Endian byte array
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for SpanId
impl UnwindSafe for SpanId
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V