Struct opentelemetry_api::trace::SpanId
source · pub struct SpanId(/* private fields */);
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§
Trait Implementations§
source§impl PartialEq for SpanId
impl PartialEq for SpanId
impl Copy for SpanId
impl Eq for SpanId
impl StructuralEq for SpanId
impl StructuralPartialEq for SpanId
Auto Trait Implementations§
impl RefUnwindSafe for SpanId
impl Send for SpanId
impl Sync for SpanId
impl Unpin for SpanId
impl UnwindSafe for SpanId
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.