pub fn metadata(input: impl BufRead, out: impl Write) -> Result<()>Expand description
Metadata export: a POSITIVE projection of the trace. Only the sequence
number and the closed EventKind category survive — no keys, paste or
file text, paths or native byte arrays, argv, command strings, messages,
errors, backtraces, protocol packets, identities, content hashes or
arbitrary nested fields. It records that categories occurred, nothing
else, and is explicitly not replayable.