(&mut self, index: u64)
| 60 | } |
| 61 | |
| 62 | fn truncate(&mut self, index: u64) -> Result<()> { |
| 63 | self.entries.retain(|e| e.index < index); |
| 64 | Ok(()) |
| 65 | } |
| 66 | |
| 67 | fn load_entries_after(&self, snapshot_index: u64) -> Result<Vec<LogEntry>> { |
| 68 | Ok(self |
no outgoing calls