Skip to main content

Module exit

Module exit 

Source
Expand description

Detect a “ctrl-c” notification or other reason to exit.

Re-exports§

use crate::Result; 🔒

Functions§

wait_for_ctrl_c
Wait until a control-c notification is received, using an appropriate runtime mechanism.