pub fn iter_events(path: &Path) -> Result<Option<EventIter>, String>Expand description
Stream events from the JSONL log at path. Returns an
iterator over CheckpointData records; malformed lines
surface as Err items so the caller decides whether to
stop or continue. Truncated-tail recovery is handled by
read’s fold; this function is the lower-level building
block for diagnostics tools that want raw event streams.