Returns an empty finalized block. This can be used if no memory was transferred (e.g., local migration).
()
| 290 | /// |
| 291 | /// This can be used if no memory was transferred (e.g., local migration). |
| 292 | pub fn empty_finalized() -> Self { |
| 293 | let mut this = Self::new(); |
| 294 | this.finalize(); |
| 295 | this |
| 296 | } |
| 297 | |
| 298 | /// Updates the metrics right before the transfer over the wire. |
| 299 | /// |