pub struct SpanRecordV2 {
pub version: u16,
pub span_id: u64,
pub parent_span_id: Evidence<u64>,
pub metric_id: MetricId,
pub start_ns: u64,
pub inclusive_ns: u64,
pub exclusive_ns: u64,
pub thread_id: u64,
pub task_id: Evidence<u64>,
pub worker_id: Evidence<u64>,
pub work_origin: WorkOrigin,
pub hardware: Evidence<SpanHardwareV2>,
}Expand description
One nested or linked causal interval.
Fields§
§version: u16§span_id: u64§parent_span_id: Evidence<u64>§metric_id: MetricId§start_ns: u64§inclusive_ns: u64§exclusive_ns: u64§thread_id: u64§task_id: Evidence<u64>§worker_id: Evidence<u64>§work_origin: WorkOrigin§hardware: Evidence<SpanHardwareV2>Raw cycle and instruction readings captured at span begin and end.
Trait Implementations§
Source§impl Clone for SpanRecordV2
impl Clone for SpanRecordV2
Source§fn clone(&self) -> SpanRecordV2
fn clone(&self) -> SpanRecordV2
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SpanRecordV2
impl Debug for SpanRecordV2
Source§impl<'de> Deserialize<'de> for SpanRecordV2
impl<'de> Deserialize<'de> for SpanRecordV2
Source§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
Source§impl PartialEq for SpanRecordV2
impl PartialEq for SpanRecordV2
Source§impl Serialize for SpanRecordV2
impl Serialize for SpanRecordV2
impl StructuralPartialEq for SpanRecordV2
Auto Trait Implementations§
impl Freeze for SpanRecordV2
impl RefUnwindSafe for SpanRecordV2
impl Send for SpanRecordV2
impl Sync for SpanRecordV2
impl Unpin for SpanRecordV2
impl UnsafeUnpin for SpanRecordV2
impl UnwindSafe for SpanRecordV2
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