soma_codemode/runner_drive/
state.rs1#[derive(Debug, Default)]
2pub struct DriveState {
3 pub next_seq: u64,
4}
5
6impl DriveState {
7 pub fn next_sequence(&mut self) -> u64 {
8 let current = self.next_seq;
9 self.next_seq = self.next_seq.saturating_add(1);
10 current
11 }
12}