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