Skip to main content

TraceChunksBytes

Type Alias TraceChunksBytes 

Source
pub type TraceChunksBytes = TraceChunks<BytesData>;

Aliased Type§

pub enum TraceChunksBytes {
    V04(Vec<Vec<Span<BytesData>>>),
    V05((SharedDict<BytesString>, Vec<Vec<Span>>)),
    V1(Box<TracerPayload<BytesData>>),
}

Variants§

§

V04(Vec<Vec<Span<BytesData>>>)

Collection of TraceChunkSpan.

§

V05((SharedDict<BytesString>, Vec<Vec<Span>>))

Collection of TraceChunkSpan with de-duplicated strings.

The dictionary always owns its strings (SharedDictBytes) because the v0.5 conversion interns dynamically-built JSON (span links / events) alongside the (possibly borrowed) span text.

§

V1(Box<TracerPayload<BytesData>>)

Collection of v0.4 spans to be serialized as a V1 msgpack payload.