Struct opentelemetry::trace::SpanId
source · [−]pub struct SpanId(_);
This is supported on crate feature
trace
only.Expand description
An 8-byte value which identifies a given span.
The id is valid if it contains at least one non-zero byte.
Implementations
Create a span id from its representation as a byte array.
Return the representation of this span id as a 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 SpanId
impl UnwindSafe for SpanId
Blanket Implementations
Mutably borrows from an owned value. Read more