Update the epoch. The caller must ensure that: - The new epoch is greater than the current epoch. - [`Self::commit`] has been called as appropriate.
(&mut self, epoch: u64)
| 186 | /// - [`Self::commit`] has been called as appropriate. |
| 187 | /// |
| 188 | pub fn set_epoch(&mut self, epoch: u64) { |
| 189 | self.commit.epoch = epoch; |
| 190 | } |
| 191 | |
| 192 | /// The smallest transaction offset in this segment. |
| 193 | pub fn min_tx_offset(&self) -> u64 { |
nothing calls this directly
no outgoing calls
no test coverage detected