fn event_version(e: &Event) -> u64Expand description
Extract the version field from any Event variant. Mirrors
reducer.rs::extract_version (which is test-only; the prod code
path needs its own copy here). When a new variant is added that
carries a version, add it here too — the unreachable arm catches
future-variant compile errors.