pub fn mach_trap_to_trap(trap: &MachTrap) -> Option<TrapInformation>
Converts machine traps to trap information.