Function merge_resumed

Source
pub fn merge_resumed(unfinished: Syscall, resumed: Syscall) -> Result<Syscall>
Expand description

Merge an unfinished and a resumed syscall. The syscalls are needed to get the timing data, but the knowledge of type from the union is embedded, so it can error :/. If you have ideas on making this nicer let me know. TODO? move into the higher layer module?