pub struct SpanEvent<T: TraceData> {
pub time_unix_nano: u64,
pub name: T::Text,
pub attributes: VecMap<T::Text, AttributeValue<T>>,
}Expand description
The generic representation of a V1 span event.
T is the type used to represent strings in the span event.
Fields§
§time_unix_nano: u64§name: T::Text§attributes: VecMap<T::Text, AttributeValue<T>>Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for SpanEvent<T>
impl<T> RefUnwindSafe for SpanEvent<T>where
<T as TraceData>::Text: RefUnwindSafe,
VecMap<<T as TraceData>::Text, AttributeValue<T>>: RefUnwindSafe,
impl<T> Send for SpanEvent<T>
impl<T> Sync for SpanEvent<T>
impl<T> Unpin for SpanEvent<T>
impl<T> UnsafeUnpin for SpanEvent<T>where
<T as TraceData>::Text: UnsafeUnpin,
VecMap<<T as TraceData>::Text, AttributeValue<T>>: UnsafeUnpin,
impl<T> UnwindSafe for SpanEvent<T>where
<T as TraceData>::Text: UnwindSafe,
VecMap<<T as TraceData>::Text, AttributeValue<T>>: UnwindSafe,
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