pub async fn ctrl_logoff() -> Result<(), Error>
signal
Creates a new listener which receives “ctrl-logoff” notifications sent to the process.