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