Function safe_drive::is_halt
source · pub fn is_halt() -> bool
Expand description
After receiving SIGINT, SIGTERM, SIGQUIT, or SIGHUP, this function return true
.
If is_halt()
is true
, some functions to receive or wait returns error to halt the process.