Skip to main content

ctrl_c

Function ctrl_c 

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

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