[][src]Function tokio_net::signal::windows::ctrl_break

pub fn ctrl_break() -> Result<CtrlBreak>

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

This function binds to the default reactor.