ctrl_logoff

Function ctrl_logoff 

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

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