[][src]Function tokio_net::signal::ctrl_c

pub fn ctrl_c() -> Result<CtrlC>

Creates a new stream which receives "ctrl-c" notifications sent to the process.

This function binds to the default reactor.