Skip to main content

ctrl_logoff

Function ctrl_logoff 

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

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