socket_path

Function socket_path 

Source
pub fn socket_path() -> Result<PathBuf>
Expand description

Resolve the platform-appropriate IPC socket path.

ยงErrors

Returns an error if required platform directories cannot be determined (e.g. XDG_RUNTIME_DIR unset on Linux, no home directory on macOS).