Skip to main content

set_can_quit

Function set_can_quit 

Source
pub fn set_can_quit(can_quit: bool) -> Result<(), Error>
Expand description

Set whether the daemon should accept quit requests from clients.

This does not affect the quit function.

Will fail with Error::DaemonNotRunning if the daemon isn’t running.