pub type TrapHandlerFn<'a> = dyn Fn(i32, *const siginfo_t, *const c_void) -> bool + Sync + Send + 'a;
Function which may handle custom signals while processing traps.