Type Alias task_struct::KillHandler
source · pub type KillHandler = Box<dyn Fn(&KillReason) + Send>;
Expand description
The function signature of the callback that will be invoked when a Task
panics or otherwise fails, e.g., a machine exception occurs.
Aliased Type§
struct KillHandler(/* private fields */);