(
StoredCommit {
min_tx_offset,
epoch,
n,
records,
checksum: _,
}: StoredCommit,
)
| 246 | |
| 247 | impl From<StoredCommit> for Commit { |
| 248 | fn from( |
| 249 | StoredCommit { |
| 250 | min_tx_offset, |
| 251 | epoch, |
| 252 | n, |
| 253 | records, |
| 254 | checksum: _, |
| 255 | }: StoredCommit, |
| 256 | ) -> Self { |
| 257 | Self { |
| 258 | min_tx_offset, |
| 259 | epoch, |
| 260 | n, |
| 261 | records, |
| 262 | } |
| 263 | } |
| 264 | } |
| 265 | |
| 266 | /// A [`Commit`] as stored on disk. |
nothing calls this directly
no test coverage detected