Skip to main content

daemon_client

Function daemon_client 

Source
pub fn daemon_client(data_dir: &Path) -> Result<Option<IpcClient>>
Expand description

Return an IPC client only when a lock owner answers a status probe.

ยงErrors

Returns an error when the lock cannot be inspected.