pub struct SpanLink<T: TraceData> {
pub trace_id: [u8; 16],
pub span_id: u64,
pub attributes: VecMap<T::Text, AttributeValue<T>>,
pub tracestate: T::Text,
pub flags: u32,
}Expand description
The generic representation of a V1 span link.
T is the type used to represent strings in the span link.
Fields§
§trace_id: [u8; 16]§span_id: u64§attributes: VecMap<T::Text, AttributeValue<T>>§tracestate: T::Text§flags: u32Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for SpanLink<T>
impl<T> RefUnwindSafe for SpanLink<T>
impl<T> Send for SpanLink<T>
impl<T> Sync for SpanLink<T>
impl<T> Unpin for SpanLink<T>
impl<T> UnsafeUnpin for SpanLink<T>
impl<T> UnwindSafe for SpanLink<T>
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