ctrl_c

Function ctrl_c 

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

Completes when a “ctrl-c” notification is sent to the process.