Skip to main content

socket_dir

Function socket_dir 

Source
pub fn socket_dir() -> PathBuf
Expand description

Directory we drop sockets into. $XDG_RUNTIME_DIR when present (the systemd-managed per-user tmpfs, cleaned at logout); falls back to /tmp. Callers should not assume the directory is private.