Function ctrl_close
pub async fn ctrl_close() -> Result<(), Error>Available on crate feature
signal and Windows only.Expand description
Creates a new listener which receives “ctrl-close” notifications sent to the process.