tokio::net::signal
pub fn ctrl_c() -> Result<CtrlC, Error>
Creates a new stream which receives "ctrl-c" notifications sent to the process.
This function binds to the default reactor.