pub fn read_epoch(control_bytes: &[u8]) -> u32Expand description
Read the epoch counter from a control buffer.
On a malformed or truncated control buffer this returns 0 and emits a
tracing::error! so the stall is operator-visible. Prefer
try_read_epoch in new code, a silent 0 lets the host pump conclude no
batch has completed, stalling dispatch indefinitely.