Skip to main content

to_vec

Function to_vec 

Source
pub fn to_vec<T: TraceData, S: AsRef<[Span<T>]>>(
    traces: &[S],
    metadata: &TracerMetadata,
) -> Vec<u8> 
Expand description

Serializes traces into a Vec<u8> using the V1 msgpack format.