pub fn heap_value_to_wire(hv: &HeapValue, ctx: &Context) -> WireValueExpand description
Project a &HeapValue to WireValue by dispatching on its
surviving variants. Reused by the snapshot path (Phase 2b
snapshot.rs commit) which has the same heap projection needs.