Type Alias task::KillHandler

pub type KillHandler = Box<dyn Fn(&KillReason) + Send, Global>;
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 */);

Trait Implementations§

1.0.0 · source§

impl<T, A> Deref for Box<T, A>where A: Allocator, T: ?Sized,

§

type Target = T

The resulting type after dereferencing.
source§

fn deref(&self) -> &T

Dereferences the value.