Skip to main content

install

Function install 

Source
pub fn install(hook: fn() -> Result<(), Error>)
Expand description

Makes hook the process’s interrupt check. The first check installed stays, and a later call does nothing.