Function encode_trace

Source
pub fn encode_trace(trace: &Trace) -> Vec<u8> 
Expand description

Encodes a Perfetto trace into a protobuf blob.

This function is intentionally isolated in its own crate to contain the build-time cost of monomorphizing the Trace::encode_to_vec function.