Skip to main content

TerminateHook

Type Alias TerminateHook 

Source
pub type TerminateHook = Box<dyn FnOnce(i32) + Send>;
Expand description

Called once, with the signal’s number, on its own thread.

Aliased Type§

pub struct TerminateHook(/* private fields */);