pub fn decode_protocol_event(
text: &str,
) -> Result<DecodedEvent, EventDecodeError>Expand description
Parse one protocol v1 line, strict-validate it, and return a typed decoded event.
text is a single JSON text value (one protocol line), not a JSONL stream.