ctrl_break

Function ctrl_break 

Source
pub async fn ctrl_break() -> Result<(), Error>
Available on crate feature signal and Windows only.
Expand description

Creates a new listener which receives “ctrl-break” notifications sent to the process.